#include <palm_installer_base.h>
Inheritance diagram for palm_installer_base:

Public Methods |
|
| palm_installer_base () | |
| Constructor. |
|
| virtual | ~palm_installer_base () |
| Destructor. |
|
| int | get_last_user_index () |
| Get the index number (in our m_users_array) of the last palm user. |
|
| int | get_number_of_users () |
| Get the number of palm users on the machine. |
|
| wxString | get_palm_desktop_path () |
| Get the system path to the palm desktop directory. |
|
| wxUint32 | get_user_magic (int user_index) |
| Get a palm user's magic number. |
|
| wxString | get_user_name (int user_index) |
| Get the palm user's name from the index. |
|
| void | get_user_name_array (wxArrayString &user_name_array) |
| Return a string of all palm user names. |
|
| wxString | get_user_subdirectory (int user_index) |
| Return a palm user's subdirectory. |
|
| int | get_user_index_from_user_name (const wxString &user_name) |
| Get the palm user's index in our m_users_array, based on their name. |
|
| bool | install_files_by_directory (const wxString &output_directory, wxArrayString &install_fullnames) |
| Install a set of files to a certain directory. |
|
| bool | install_file_by_directory (const wxString &output_directory, const wxString &install_fullname) |
| Install files to a certain directory. |
|
| virtual bool | install_files_by_handheld_dest (handheld_dest_type &handheld_dest, wxArrayString &install_fullnames)=0 |
| Install files via the handheld_dest_type interface. |
|
| virtual bool | install_file_by_handheld_dest (handheld_dest_type &handheld_dest, const wxString &install_fullname)=0 |
| Install a single file via the handheld_dest_type interface. |
|
Protected Attributes |
|
| wxUint8 | m_number_of_users |
| Number of Palm users on the machine. |
|
| wxUint16 | m_last_user_index |
| Index of the last user in our m_users_array. |
|
| wxString | m_palm_desktop_path |
| The path to the Palm directory (255 characters max). |
|
| wxString | m_last_user_name |
| The name of our last user in our m_users_array (31 characters max). |
|
| palm_user_array_type | m_users_array |
| An array of palm_user_type objects, describing palm users on the machine. |
|
A modular non-visual class, describing API functions for the actions to query palm users and install files to their directories, ready to sync.
The OS-specific functions are laid out in a derived palm_installer class.
|
|
Get the index number (in our m_users_array) of the last palm user.
|
|
|
Get the number of palm users on the machine.
|
|
|
Get the system path to the palm desktop directory. Example C:\Palm\
|
|
|
Get the palm user's index in our m_users_array, based on their name.
|
|
|
Get a palm user's magic number.
|
|
|
Get the palm user's name from the index.
|
|
|
Return a string of all palm user names.
|
|
|
Return a palm user's subdirectory. This is only the subdirectory off the OS's Palm directory. To get the fullname of the directory, need get_palm_desktop_path() then a directory separator, then the value returned by this function.
|
|
||||||||||||
|
Install files to a certain directory. Useful to have, as it makes it simpler to support handheld installs other than Palm. Most of the smaller share devices are smart enough to look in a certain directory for things to sync.
|
|
||||||||||||
|
Install a single file via the handheld_dest_type interface.
Implemented in palm_installer. |
|
||||||||||||
|
Install a set of files to a certain directory. Useful to have, as it makes it simpler to support handheld installs other than Palm. Most of the smaller share devices are smart enough to look in a certain directory for things to sync.
|
|
||||||||||||
|
Install files via the handheld_dest_type interface.
Implemented in palm_installer. |
|
|
An array of palm_user_type objects, describing palm users on the machine.
|