ultimatepp/bazaar/Functions4U_Demo/Spreadsheet.cpp
koldo fa56dbf819 .Functions4U_Demo: Changed StaticPlugin demo classes names
git-svn-id: svn://ultimatepp.org/upp/trunk@3255 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2011-03-01 22:40:43 +00:00

19 lines
No EOL
576 B
C++

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