Introduce rtengine/noncopyable.hpp

This commit is contained in:
Flössie
2016-10-08 15:36:44 +02:00
parent 8a2b2e6700
commit d132149a26
20 changed files with 142 additions and 105 deletions

View File

@@ -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);