ultimatepp/bazaar/Functions4U_Demo/Spreadsheet.cpp
koldo 232c1f044b Functions4U_Demo: New demo package
git-svn-id: svn://ultimatepp.org/upp/trunk@3248 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2011-02-25 16:28:55 +00:00

19 lines
No EOL
591 B
C++

#include <Core/Core.h>
using namespace Upp;
#include <Functions4U/Functions4U.h>
#include "Spreadsheet.h"
bool SpreadsheetPlugin::Open(const char *filename) {return false;};
void SpreadsheetPlugin::SetData(int row, int col, Value val) {};
bool Spreadsheet::Open(const char *filename) {return (static_cast<SpreadsheetPlugin *>(GetData()))->Open(filename);}
void Spreadsheet::SetData(int row, int col, Value val) {return (static_cast<SpreadsheetPlugin *>(GetData()))->SetData(row, col, val);}
INITBLOCK {
PluginRegister(Spreadsheet, SpreadsheetPlugin, "");
}