#include <interface.h>
Public Member Functions | |
| virtual void | TrackFile (const Dedupe::FileInfo &file)=0 |
| virtual void | UntrackFile (const Dedupe::FileInfo &file)=0 |
| virtual void | ClearTrackedFiles ()=0 |
| virtual bool | IsRecursive ()=0 |
| virtual int | exec ()=0 |
| Main (int argc, char *argv[]) | |
Protected Member Functions | |
| virtual std::vector < Dedupe::FileInfo > | GetFiles ()=0 |
| virtual std::vector < Dedupe::FileInfo > | GetSelectedTrackedFiles ()=0 |
| void | OnTrack () |
| void | OnUntrack () |
| void | OnIndex () |
| void | OnManage () |
| void | OnDelete () |
| void | OnEdit () |
| void | OnHide () |
| void | OnShow () |
| void | OnQuit () |
Protected Attributes | |
| Dedupe::Core::Kernel | Kernel |
This class describes the interface to the main window.
Definition at line 43 of file interface.h.
| virtual void Dedupe::GUI::Main::ClearTrackedFiles | ( | ) | [pure virtual] |
Clears the graphical list of tracked files.
Implemented in Dedupe::GUI::QtMain.
| virtual int Dedupe::GUI::Main::exec | ( | ) | [pure virtual] |
Waits for user interaction
Implemented in Dedupe::GUI::QtMain.
| virtual std::vector<Dedupe::FileInfo> Dedupe::GUI::Main::GetFiles | ( | ) | [protected, pure virtual] |
Get several files from the user.
Implemented in Dedupe::GUI::QtMain.
| virtual std::vector<Dedupe::FileInfo> Dedupe::GUI::Main::GetSelectedTrackedFiles | ( | ) | [protected, pure virtual] |
Get selected files in the list of tracked files.
Implemented in Dedupe::GUI::QtMain.
| virtual bool Dedupe::GUI::Main::IsRecursive | ( | ) | [pure virtual] |
Shows a dialog to ask whether directories should be processed recursively or not.
Implemented in Dedupe::GUI::QtMain.
| virtual void Dedupe::GUI::Main::TrackFile | ( | const Dedupe::FileInfo & | file | ) | [pure virtual] |
Refresh the main window - add the given File to the list
| file | reference to the new file |
Implemented in Dedupe::GUI::QtMain.
| virtual void Dedupe::GUI::Main::UntrackFile | ( | const Dedupe::FileInfo & | file | ) | [pure virtual] |
Refresh the main window - remove the given File from the list
Implemented in Dedupe::GUI::QtMain.
Dedupe::Core::Kernel Dedupe::GUI::Main::Kernel [protected] |
Instance of the kernel, which manages the files.
Definition at line 90 of file interface.h.
1.7.1