818c28d43d
* Implement enabled ones * Add canditate preferences * Implement singleton-like preferences class CayaPreferences. These are working but they are not stored in file at closing
29 lines
565 B
C
29 lines
565 B
C
/*
|
|
* Copyright 2010, Oliver Ruiz Dorantes. All rights reserved.
|
|
* Distributed under the terms of the MIT License.
|
|
*/
|
|
#ifndef _CAYA_PREFERENCES_H
|
|
#define _CAYA_PREFERENCES_H
|
|
|
|
#include "PreferencesContainer.h"
|
|
|
|
typedef struct CayaPreferencesData
|
|
{
|
|
bool MoveToCurrentWorkspace;
|
|
bool ActivateWindow;
|
|
// Add here as much fields as desired
|
|
|
|
CayaPreferencesData()
|
|
:
|
|
MoveToCurrentWorkspace(true),
|
|
ActivateWindow(true)
|
|
// Add here its default values
|
|
{ }
|
|
|
|
|
|
};
|
|
|
|
typedef PreferencesContainer<CayaPreferencesData> CayaPreferences;
|
|
|
|
#endif // _CAYA_PREFERENCES_H
|