Describes minimum required functionality from DriveDropDown control.
You can find more information in comments below. Overrided methods can be found in corresponding base interface.
class IDriveDropDown :public virtual IControl
{
public:
virtual int getDriveCount() = 0; // Return found drive(volume) count
virtual String getDrive(const int index) = 0; // Return drive path by index
virtual int getSelectedDriveIndex() = 0; // Return selected drive index
virtual String getSelectedDrive() = 0; // Return selected drive path
virtual IDirectoryTree *getDirectoryTree() = 0; // Return assigned DirectoryTree control
virtual bool setSelectedDriveIndex(const int value) = 0; // Select drive by index
virtual bool setSelectedDrive(const String &value) = 0; // Select drive by name
virtual bool setDirectoryTree(IDirectoryTree *value) = 0; // Assign DirectoryTree control
virtual bool Rescan() = 0; // Rescan drives
};
Namespace: | nitisa::standard |
Include: | Standard/Controls/IDriveDropDown.h |