|
Raspberry Cloud
|
#include <UI.h>
Public Member Functions | |
| UI (Application *_app) | |
| UI () | |
| bool | addFile (string localFileID, string destinationFileID) |
| bool | createDirectory (string directoryID) |
| string | getFile (FileDescriptor fileDescriptor) |
| bool | deleteFile (FileDescriptor fileDescriptor) |
| void | setComputeOnPi (bool b) |
| list< FileDescriptor * > * | getFileTree () |
Public Attributes | |
| Application * | app |
UI class It makes communication possible between the user and the program It will have a windowing system
| UI::UI | ( | Application * | _app | ) |
| UI::UI | ( | ) |
UI default constructor
| bool UI::addFile | ( | string | localFileID, |
| string | destinationFileID | ||
| ) |
It starts the process of adding a local file to the system
| localFileID | local path to the file to add |
| destinationFileID | remote path to the file to add |
| bool UI::createDirectory | ( | string | directoryID | ) |
It starts the process of creating a new directory
| directoryID | remote path to the directory to add |
| bool UI::deleteFile | ( | FileDescriptor | fileDescriptor | ) |
It starts the process of deleting a given file from the system
| fileDescriptor | descriptor of the file to delete |
| string UI::getFile | ( | FileDescriptor | fileDescriptor | ) |
It starts the process of retrieving a given file
| fileDescriptor | descriptor of the file to get |
| list< FileDescriptor * > * UI::getFileTree | ( | ) |
Getter to the fileTree attribute
| void UI::setComputeOnPi | ( | bool | b | ) |
It starts the process of setting the home network behaviour
| b | will the pi be working |
1.8.9.1