haiku/headers/private/debugger/settings/TeamUiSettings.h
Rene Gollent fce4895d18 Debugger: Split into core library and application.
- Add subfolder src/kits/debugger which contains the debugger's core
  functionality and lower layers. Correspondingly add headers/private/debugger
  for shared headers to be used by clients such as the Debugger application
  and eventual remote_debug_server. Adjust various files to account for
  differences as a result of the split and moves.
- Add libdebugger.so to minimal Jamfile.
2016-06-04 13:18:39 -04:00

38 lines
703 B
C++

/*
* Copyright 2011, Rene Gollent, rene@gollent.com.
* Distributed under the terms of the MIT License.
*/
#ifndef TEAM_UI_SETTINGS_H
#define TEAM_UI_SETTINGS_H
#include <String.h>
class BMessage;
enum team_ui_settings_type {
TEAM_UI_SETTINGS_TYPE_GUI,
TEAM_UI_SETTINGS_TYPE_CLI
};
class TeamUiSettings {
public:
TeamUiSettings();
virtual ~TeamUiSettings();
virtual team_ui_settings_type Type() const = 0;
virtual const char* ID() const = 0;
virtual status_t SetTo(const BMessage& archive) = 0;
virtual status_t WriteTo(BMessage& archive) const = 0;
virtual TeamUiSettings* Clone() const = 0;
// throws std::bad_alloc
};
#endif // TEAM_UI_SETTINGS_H