Chat-O-Matic/application/preferences/AccountDialog.h

38 lines
773 B
C
Raw Permalink Normal View History

/*
* Copyright 2009-2010, Pier Luigi Fiorini. All rights reserved.
* Distributed under the terms of the MIT License.
*/
#ifndef _ACCOUNT_DIALOG_H
#define _ACCOUNT_DIALOG_H
#include <String.h>
#include <Window.h>
class BTextControl;
class ProtocolSettings;
class TemplateView;
const uint32 kAccountAdded = 'acad';
const uint32 kAccountRenamed = 'acrd';
class AccountDialog : public BWindow {
public:
2010-05-20 16:31:55 -05:00
AccountDialog(const char* title,
ProtocolSettings* settings,
const char* account = NULL);
void SetTarget(BHandler* target);
virtual void MessageReceived(BMessage* msg);
private:
ProtocolSettings* fSettings;
BString fAccount;
TemplateView* fTop;
BTextControl* fAccountName;
BHandler* fTarget;
};
#endif // _ACCOUNT_DIALOG_H