-
Notifications
You must be signed in to change notification settings - Fork 81
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Further improve pyImageLibMod interface.
Includes fixes suggested by code review.
- Loading branch information
Showing
6 changed files
with
30 additions
and
37 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -52,9 +52,9 @@ You can contact Cyan Worlds, Inc. by email [email protected] | |
|
||
#include "pyGlueHelpers.h" | ||
|
||
#include "pnKeyedObject/plKey.h" | ||
#include "plModifier/plImageLibMod.h" | ||
|
||
class plKey; | ||
class pyImage; | ||
|
||
class pyImageLibMod | ||
|
@@ -116,9 +116,9 @@ class pyImageLibMod | |
plKey GetKey() const { return fModifier ? fModifier->GetKey() : fModifierKey; } | ||
|
||
// for python access | ||
pyImage* GetImage (const ST::string& name) const; | ||
const std::vector<ST::string> GetImageNames() const; | ||
const std::vector<pyImage*> GetImages() const; | ||
PyObject* GetImage (const ST::string& name) const; | ||
std::vector<ST::string> GetImageNames() const; | ||
std::vector<PyObject*> GetImages() const; | ||
}; | ||
|
||
#endif // pyImageLibMod_h |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters