|
|
@ -84,8 +84,8 @@ public: |
|
|
|
|
|
|
|
|
|
|
|
// required functions for PyObject interoperability
|
|
|
|
// required functions for PyObject interoperability
|
|
|
|
PYTHON_CLASS_NEW_FRIEND(ptBook); |
|
|
|
PYTHON_CLASS_NEW_FRIEND(ptBook); |
|
|
|
static PyObject *New(std::string htmlSource, plKey coverImageKey = nil, plKey callbackKey = nil, plString guiName = plString()); |
|
|
|
static PyObject *New(std::string htmlSource, plKey coverImageKey = nil, plKey callbackKey = nil, plString guiName = ""); |
|
|
|
static PyObject *New(std::wstring htmlSource, plKey coverImageKey = nil, plKey callbackKey = nil, plString guiName = plString()); |
|
|
|
static PyObject *New(std::wstring htmlSource, plKey coverImageKey = nil, plKey callbackKey = nil, plString guiName = ""); |
|
|
|
PYTHON_CLASS_CHECK_DEFINITION; // returns true if the PyObject is a pyJournalBook object
|
|
|
|
PYTHON_CLASS_CHECK_DEFINITION; // returns true if the PyObject is a pyJournalBook object
|
|
|
|
PYTHON_CLASS_CONVERT_FROM_DEFINITION(pyJournalBook); // converts a PyObject to a pyJournalBook (throws error if not correct type)
|
|
|
|
PYTHON_CLASS_CONVERT_FROM_DEFINITION(pyJournalBook); // converts a PyObject to a pyJournalBook (throws error if not correct type)
|
|
|
|
|
|
|
|
|
|
|
@ -94,8 +94,8 @@ public: |
|
|
|
static void AddPlasmaConstantsClasses(PyObject *m); |
|
|
|
static void AddPlasmaConstantsClasses(PyObject *m); |
|
|
|
|
|
|
|
|
|
|
|
// Deletes the existing book and re-creates it, for use by the python glue
|
|
|
|
// Deletes the existing book and re-creates it, for use by the python glue
|
|
|
|
void MakeBook(std::string esHTMLSource, plKey coverImageKey = nil, plKey callbackKey = nil, plString guiName = plString()); |
|
|
|
void MakeBook(std::string esHTMLSource, plKey coverImageKey = nil, plKey callbackKey = nil, plString guiName = ""); |
|
|
|
void MakeBook(std::wstring esHTMLSource, plKey coverImageKey = nil, plKey callbackKey = nil, plString guiName = plString()); |
|
|
|
void MakeBook(std::wstring esHTMLSource, plKey coverImageKey = nil, plKey callbackKey = nil, plString guiName = ""); |
|
|
|
|
|
|
|
|
|
|
|
// Interface functions per book
|
|
|
|
// Interface functions per book
|
|
|
|
virtual void Show( bool startOpened ); |
|
|
|
virtual void Show( bool startOpened ); |
|
|
|