mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-05-16 22:02:58 -06:00
29 lines
599 B
C++
29 lines
599 B
C++
#ifndef ChatterListClass_H
|
|
#define ChatterListClass_H
|
|
#include "mstring.h"
|
|
#include <vector>
|
|
using namespace std;
|
|
|
|
typedef struct {
|
|
MString Chatter;
|
|
int abgemeldet;
|
|
} chatterstruct;
|
|
|
|
class ChatterListClass
|
|
{
|
|
private:
|
|
|
|
public:
|
|
vector<chatterstruct> chatter;
|
|
ChatterListClass();
|
|
void printchatter();
|
|
void anmelden(MString name);
|
|
void abmelden(MString name);
|
|
bool AddChatter(MString name);
|
|
bool RemoveChatter(MString name);
|
|
void clearall();
|
|
int ChatterInSep(){return(chatter.size());}
|
|
int ChatterAngemeldet();
|
|
};
|
|
|
|
#endif
|