25 lines
671 B
C++
25 lines
671 B
C++
//////////////////////////////////////////////////
|
|
// Blabber [GenericFunctions.h]
|
|
// Generic functions performing various
|
|
// tasks.
|
|
//////////////////////////////////////////////////
|
|
|
|
#ifndef GENERIC_FUNCTIONS_H
|
|
#define GENERIC_FUNCTIONS_H
|
|
|
|
#include <string>
|
|
|
|
class BRect;
|
|
|
|
class GenericFunctions {
|
|
public:
|
|
static BRect CenteredFrame(float window_width, float window_height);
|
|
static std::string TimeStamp();
|
|
static std::string GenerateNick(std::string username);
|
|
static std::string CrushOutWhitespace(std::string text);
|
|
static int SeparateGroupSpecifiers(std::string text,
|
|
std::string &room, std::string &server, std::string &user);
|
|
};
|
|
|
|
#endif
|