Main Page   Modules   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members   Related Pages  

import_controller Class Reference

A class to manage importation of information into plucker.ini/.pluckerrc. More...

#include <import_controller.h>

List of all members.


Public Methods

  import_controller ()
  Constructor.

  ~import_controller ()
  Destructor.

void  import_installation_plkrdata_files (long options)
  Imports the plkrdata files from a new/updated installation.

void  import_plkrdata_files_from_directory (const wxString &import_path, long options)
  Imports plkrdata files from a specified directory.

void  import_sections_from_plkrdata_file (const wxString &plkrdata_fullname, long options)
  Imports sections from a .plkrdata file.


Static Public Methods

import_controller *  get ()
  Gets the global object or creates one if none exists.

import_controller *  set (import_controller *desired_import_controller)
  Sets the global object and returns a pointer to previous one (may be NULL).


Detailed Description

A class to manage importation of information into plucker.ini/.pluckerrc.

Member Function Documentation

void import_controller::import_installation_plkrdata_files long    options
 

Imports the plkrdata files from a new/updated installation.

These plkrdat files are located in the plucker_desktop/resource/plkrdata_installation directory. They include things like preconfigured channels and settings.

Parameters:
options  Bitlist of optionIMPORT_CONTROLLER flags
void import_controller::import_plkrdata_files_from_directory const wxString &    import_path,
long    options
 

Imports plkrdata files from a specified directory.

Parameters:
import_path  The path where the plkrdata files are. Does not recurse down into and subdirectories.
options  Bitlist of optionIMPORT_CONTROLLER flags.
void import_controller::import_sections_from_plkrdata_file const wxString &    plkrdata_fullname,
long    options
 

Imports sections from a .plkrdata file.

Parameters:
plkrdata_fullname  The fullname of the plkrdata file.
options  Bitlist of optionIMPORT_CONTROLLER flags.
import_controller* import_controller::set import_controller *    desired_import_controller [static]
 

Sets the global object and returns a pointer to previous one (may be NULL).

Parameters:
desired_import_controller  The new import_controller.