Chat-O-Matic/application/AccountManager.h

29 lines
569 B
C
Raw Normal View History

/*
2011-12-03 16:38:03 -06:00
* Copyright 2009-2011, Pier Luigi Fiorini. All rights reserved.
* Distributed under the terms of the MIT License.
*/
#ifndef _ACCOUNT_MANAGER_H
#define _ACCOUNT_MANAGER_H
#include "CayaConstants.h"
#include "Notifier.h"
class AccountManager : public Notifier {
public:
static AccountManager* Get();
void SetNickname(BString nick);
CayaStatus Status() const;
2010-05-20 16:31:55 -05:00
void SetStatus(CayaStatus status,
const char* str = NULL);
private:
AccountManager();
~AccountManager();
CayaStatus fStatus;
};
#endif // _ACCOUNT_MANAGER_H