diff options
author | gregory guy <[email protected]> | 2020-06-13 16:55:00 +0200 |
---|---|---|
committer | gregory guy <[email protected]> | 2020-06-21 15:36:20 +0200 |
commit | 0b2288da16894d45e95caf5c0f1f5cba3f17c2dd (patch) | |
tree | 7dc6943b6af7edd7500456aaa813d79c8f09c88b /src/app/codeineConfig.h | |
parent | 88aa431c9d79bad942de04f4b28954b428079fd1 (diff) | |
download | codeine-0b2288da16894d45e95caf5c0f1f5cba3f17c2dd.tar.gz codeine-0b2288da16894d45e95caf5c0f1f5cba3f17c2dd.zip |
Conversion to the cmake building system.
Signed-off-by: gregory guy <[email protected]>
Diffstat (limited to 'src/app/codeineConfig.h')
-rw-r--r-- | src/app/codeineConfig.h | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/src/app/codeineConfig.h b/src/app/codeineConfig.h new file mode 100644 index 0000000..4ac877c --- /dev/null +++ b/src/app/codeineConfig.h @@ -0,0 +1,20 @@ +// (c) 2004 Max Howell ([email protected])
+// See COPYING file for licensing information
+
+#ifndef CODEINECONFIG_H
+#define CODEINECONFIG_H
+
+#include <tdeconfig.h>
+#include <tdeglobal.h>
+
+namespace Codeine
+{
+ static inline TDEConfig *config( const TQString &group )
+ {
+ TDEConfig* const instance = TDEGlobal::config();
+ instance->setGroup( group );
+ return instance;
+ }
+}
+
+#endif
|