import the first version of cmslu
git-svn-id: svn://ttmath.org/publicrep/cmslu/trunk@460 e52654a7-88a9-db11-a3e9-0013d4bc506e
This commit is contained in:
33
core/misc.h
Executable file
33
core/misc.h
Executable file
@@ -0,0 +1,33 @@
|
||||
/*
|
||||
* This file is a part of CMSLU -- Content Management System like Unix
|
||||
* and is not publicly distributed
|
||||
*
|
||||
* Copyright (c) 2008, Tomasz Sowa
|
||||
* All rights reserved.
|
||||
*
|
||||
*/
|
||||
|
||||
#ifndef headerfilemisc
|
||||
#define headerfilemisc
|
||||
|
||||
|
||||
#include <string>
|
||||
#include <sstream>
|
||||
#include "log.h"
|
||||
#include "item.h"
|
||||
|
||||
#define MAJOR_VER 0
|
||||
#define MINOR_VER 1
|
||||
#define REVISION_VER 0
|
||||
|
||||
|
||||
void ToString(std::string & s, int value);
|
||||
void ToString(std::string & s, long value);
|
||||
void SetUrlSubjectFromSubject(Item & item);
|
||||
int ChangeLocalChar(unsigned char c);
|
||||
void HtmlSpecial(std::ostringstream & out, const std::string & in);
|
||||
std::string HtmlSpecial(const std::string & in);
|
||||
|
||||
|
||||
|
||||
#endif
|
Reference in New Issue
Block a user