Resolve "Toggle Free Look with Hotkey"
[ryzomcore.git] / ryzom / server / src / pd_support_service / utils.h
blobde52abc87eecd47592fe7a3043f9200dbc1fdceb
1 // Ryzom - MMORPG Framework <http://dev.ryzom.com/projects/ryzom/>
2 // Copyright (C) 2010 Winch Gate Property Limited
3 //
4 // This program is free software: you can redistribute it and/or modify
5 // it under the terms of the GNU Affero General Public License as
6 // published by the Free Software Foundation, either version 3 of the
7 // License, or (at your option) any later version.
8 //
9 // This program is distributed in the hope that it will be useful,
10 // but WITHOUT ANY WARRANTY; without even the implied warranty of
11 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 // GNU Affero General Public License for more details.
14 // You should have received a copy of the GNU Affero General Public License
15 // along with this program. If not, see <http://www.gnu.org/licenses/>.
18 #ifndef PDSS_UTILS_H
19 #define PDSS_UTILS_H
22 //-------------------------------------------------------------------------------------------------
23 // includes
24 //-------------------------------------------------------------------------------------------------
26 #include "nel/misc/sstring.h"
29 //-------------------------------------------------------------------------------------------------
30 // Handy utilities
31 //-------------------------------------------------------------------------------------------------
33 NLMISC::CSString buildDateString(uint32 timeValue);
34 NLMISC::CSString buildDowTimeString(uint32 timeValue);
35 NLMISC::CSString buildDurationString(uint32 timeValue);
37 NLMISC::CSString lookupSessionName(uint32 shardId);
38 uint32 lookupSessionId(const NLMISC::CSString& sessionName);
41 #endif // PDSS_UTILS_H