Changeset 11054 for code/branches/cpp11_v3/src/libraries/core/Resource.h
- Timestamp:
- Jan 10, 2016, 1:54:11 PM (9 years ago)
- Location:
- code/branches/cpp11_v3
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/cpp11_v3
- Property svn:mergeinfo changed
-
code/branches/cpp11_v3/src/libraries/core/Resource.h
r8351 r11054 42 42 #include "CorePrereqs.h" 43 43 44 #include <boost/shared_ptr.hpp> 44 #include <memory> 45 45 46 #include <OgreDataStream.h> 46 47 #include <OgreStringVector.h> … … 93 94 94 95 //! Similar to open(string, string, bool), but with a fileInfo struct 95 static DataStreamPtr open(s hared_ptr<ResourceInfo> fileInfo)96 static DataStreamPtr open(std::shared_ptr<ResourceInfo> fileInfo) 96 97 { 97 98 return open(fileInfo->filename); … … 125 126 Fully qualified name of the file to test for 126 127 */ 127 static s hared_ptr<ResourceInfo> getInfo(const std::string& name);128 static std::shared_ptr<ResourceInfo> getInfo(const std::string& name); 128 129 129 130 /** … … 140 141 141 142 private: 142 Resource(); 143 ~Resource(); 144 Resource(const Resource& instance); 143 // static class, no instances allowed: 144 Resource() = delete; 145 Resource(const Resource&) = delete; 146 Resource& operator=(const Resource&) = delete; 147 ~Resource() = delete; 145 148 }; 146 149 }
Note: See TracChangeset
for help on using the changeset viewer.