File tree Expand file tree Collapse file tree 2 files changed +0
-53
lines changed
Expand file tree Collapse file tree 2 files changed +0
-53
lines changed Original file line number Diff line number Diff line change @@ -4,7 +4,6 @@ namespace NE
44{
55
66SERIALIZATION_INFO (String, 1 );
7- SERIALIZATION_INFO (LocString, 1 );
87
98String::String () :
109 String (std::wstring ())
@@ -69,38 +68,4 @@ Stream::Status String::Write (OutputStream& outputStream) const
6968 return outputStream.GetStatus ();
7069}
7170
72- LocString::LocString () :
73- LocString (std::wstring ())
74- {
75- }
76-
77- LocString::LocString (const std::wstring& strValue) :
78- strValue (strValue)
79- {
80- }
81-
82- std::wstring LocString::GetLocalized () const
83- {
84- return LocalizeString (strValue);
85- }
86-
87- std::wstring LocString::GetLocalized (const Dictionary& dictionary) const
88- {
89- return LocalizeString (dictionary, strValue);
90- }
91-
92- Stream::Status LocString::Read (InputStream& inputStream)
93- {
94- ObjectHeader header (inputStream);
95- inputStream.Read (strValue);
96- return inputStream.GetStatus ();
97- }
98-
99- Stream::Status LocString::Write (OutputStream& outputStream) const
100- {
101- ObjectHeader header (outputStream, serializationInfo);
102- outputStream.Write (strValue);
103- return outputStream.GetStatus ();
104- }
105-
10671}
Original file line number Diff line number Diff line change @@ -35,24 +35,6 @@ class String
3535 Localization localization;
3636};
3737
38- class LocString
39- {
40- SERIALIZABLE;
41-
42- public:
43- explicit LocString ();
44- explicit LocString (const std::wstring& strValue);
45-
46- std::wstring GetLocalized () const ;
47- std::wstring GetLocalized (const Dictionary& dictionary) const ;
48-
49- Stream::Status Read (InputStream& inputStream);
50- Stream::Status Write (OutputStream& outputStream) const ;
51-
52- private:
53- std::wstring strValue;
54- };
55-
5638}
5739
5840#endif
You can’t perform that action at this time.
0 commit comments