ultimatepp/bazaar/Functions4U_Demo/Spreadsheet.cpp
koldo e702db1d97 Functions4U_Demo: Updated namespaces and time callbacks
git-svn-id: svn://ultimatepp.org/upp/trunk@11813 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2018-03-02 13:50:08 +00:00

19 lines
No EOL
573 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, "");
}