mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-05-31 14:22:38 -06:00
19 lines
No EOL
573 B
C++
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, "");
|
|
} |