Last change
on this file since 531 was
512,
checked in by Maciej Komosinski, 9 years ago
|
No trailing space in full name when last name is empty
|
-
Property svn:eol-style set to
native
|
File size:
500 bytes
|
Rev | Line | |
---|
[286] | 1 | // This file is a part of Framsticks SDK. http://www.framsticks.com/ |
---|
| 2 | // Copyright (C) 1999-2015 Maciej Komosinski and Szymon Ulatowski. |
---|
| 3 | // See LICENSE.txt for details. |
---|
[138] | 4 | |
---|
| 5 | #ifndef _AUTONAME_H_ |
---|
| 6 | #define _AUTONAME_H_ |
---|
| 7 | |
---|
| 8 | #include <frams/model/model.h> |
---|
| 9 | |
---|
| 10 | /// generate human readable (and human like-able) name for the model |
---|
| 11 | class AutoName |
---|
| 12 | { |
---|
[512] | 13 | public: |
---|
| 14 | static SString makeName(Model&); |
---|
| 15 | static SString firstName(const SString& g); |
---|
[343] | 16 | static SString firstName(Model&); |
---|
| 17 | static SString lastName(Model&); |
---|
[138] | 18 | }; |
---|
| 19 | |
---|
| 20 | #endif |
---|
| 21 | |
---|
Note: See
TracBrowser
for help on using the repository browser.