source: cpp/frams/model/autoname.h @ 1321

Last change on this file since 1321 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
Line 
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.
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
11class AutoName
12{
13public:
14        static SString makeName(Model&);
15        static SString firstName(const SString& g);
16        static SString firstName(Model&);
17        static SString lastName(Model&);
18};
19
20#endif
21
Note: See TracBrowser for help on using the repository browser.