diff options
Diffstat (limited to 'mg_thread_sync.h')
-rw-r--r-- | mg_thread_sync.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/mg_thread_sync.h b/mg_thread_sync.h index d9a2e3f..23085d5 100644 --- a/mg_thread_sync.h +++ b/mg_thread_sync.h @@ -17,10 +17,10 @@ class mgThreadSync : public cThread { public: - + mgThreadSync(); static mgThreadSync* get_instance(); - bool Sync(char * const * path_argv, bool delete_missing ); + bool Sync(char * const * path_argv=0); protected: /*! \brief Runs the import routine as a separate thread @@ -29,9 +29,10 @@ class mgThreadSync : public cThread private: - void SetArguments( char * const * path_argv, bool delete_missing ); + void SetArguments( char * const * path_argv); char * const *m_path; + bool m_has_args; bool m_delete; }; |