Changeset 1792 for code/trunk/src/core/TclBind.h
- Timestamp:
- Sep 16, 2008, 8:45:13 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/trunk/src/core/TclBind.h
r1505 r1792 39 39 { 40 40 public: 41 static TclBind& getInstance(); 41 TclBind(const std::string& datapath); 42 ~TclBind(); 43 44 static TclBind& getInstance() { assert(singletonRef_s); return *singletonRef_s; } 42 45 43 46 static std::string tcl(const std::string& tclcode); … … 56 59 57 60 private: 58 TclBind();59 61 TclBind(const TclBind& other); 60 ~TclBind();61 62 62 63 Tcl::interpreter* interpreter_; 63 64 std::string tclLibPath_; 64 65 bool bSetTclLibPath_; 66 67 static TclBind* singletonRef_s; 65 68 }; 66 69 }
Note: See TracChangeset
for help on using the changeset viewer.