Introduce rtengine/noncopyable.hpp
This commit is contained in:
@@ -21,11 +21,14 @@
|
||||
|
||||
#include <map>
|
||||
#include <vector>
|
||||
#include <glibmm.h>
|
||||
|
||||
#include "../rtengine/rtengine.h"
|
||||
#include "../rtengine/noncopyable.h"
|
||||
|
||||
#include "threadutils.h"
|
||||
#include "paramsedited.h"
|
||||
#include "guiutils.h"
|
||||
#include <glibmm.h>
|
||||
|
||||
|
||||
/** @brief This will implement callback functions for the ProfileStore
|
||||
@@ -118,7 +121,8 @@ public:
|
||||
* This store can be queried by the GUI to display a Tree of the profiles available
|
||||
* in the user's and system's profile directory and subdirectories.
|
||||
*/
|
||||
class ProfileStore
|
||||
class ProfileStore :
|
||||
public rtengine::NonCopyable
|
||||
{
|
||||
|
||||
typedef enum {
|
||||
@@ -176,9 +180,8 @@ private:
|
||||
public:
|
||||
|
||||
ProfileStore();
|
||||
ProfileStore (const ProfileStore&) = delete;
|
||||
|
||||
~ProfileStore();
|
||||
|
||||
bool init ();
|
||||
void parseProfiles ();
|
||||
int findFolderId(const Glib::ustring &path);
|
||||
|
Reference in New Issue
Block a user