mirror of
https://foundry.openuru.org/gitblit/r/CWE-ou-minkata.git
synced 2025-07-14 02:27:40 -04:00
Some minor cleanup for readability
This commit is contained in:
@ -84,8 +84,8 @@ public:
|
||||
|
||||
// required functions for PyObject interoperability
|
||||
PYTHON_CLASS_NEW_FRIEND(ptBook);
|
||||
static PyObject *New(std::string htmlSource, plKey coverImageKey = nil, plKey callbackKey = nil, plString guiName = plString());
|
||||
static PyObject *New(std::wstring 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 = "");
|
||||
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)
|
||||
|
||||
@ -94,8 +94,8 @@ public:
|
||||
static void AddPlasmaConstantsClasses(PyObject *m);
|
||||
|
||||
// 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::wstring 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 = "");
|
||||
|
||||
// Interface functions per book
|
||||
virtual void Show( bool startOpened );
|
||||
|
@ -223,7 +223,7 @@ plString pySceneObject::GetName()
|
||||
{
|
||||
if ( fSceneObjects.Count() > 0 )
|
||||
return fSceneObjects[0]->GetName();
|
||||
return plString();
|
||||
return "";
|
||||
}
|
||||
|
||||
PyObject* pySceneObject::findObj(const plString& name)
|
||||
|
Reference in New Issue
Block a user