#include <import.h>
Inheritance diagram for SaX::SaXImport:
Public Member Functions | |
void | doImport (void) |
void | setSource (int) |
int | getSectionID (void) |
QString | getSectionName (void) |
SaXImport (int) |
The SaXImport class provides an abstraction for the ISaX interface layer. The class inherits from SaXProcess which itself inherits from SaXStorage. the data is obtained from an isax process call and is stored into the protected area of a storage object. ISaX is the interface between the engine which is responsible to create or modify X11 configurations and the client side which normaly builds a GUI for user interactions concerning X11 issues. The ISaX interface is used for input and output data and is therefore the major structure to read, create and modify X11 configurations. The SaXImport class will cover only the first part which is to read from the interface. A SaXImport object will be constructed with one parameter which defines the section to import. there are seven ISAX sections available:
Example:
#include <sax/sax.h> SaXImport* card = new SaXImport (SAX_CARD); card->doImport(); if (card->getItem("Vendor")) { printf ("%s\n",card->getItem("Vendor").ascii()); }
Definition at line 126 of file import.h.
|
An object of this type is used to create an ISAX based SaX import. Refering to the given section ID the correct isax options are set. Definition at line 27 of file import.cpp. References SaX::SaXException::errorString(), and SaX::SaXException::excImportSectionFailed(). Here is the call graph for this function: ![]() |
|
call SaXProcess::start() to obtain the isax provided information Implements SaX::SaXImportIF. Definition at line 75 of file import.cpp. References SaX::SaXProcess::start(). Here is the call graph for this function: ![]() |
|
return the section identifier this import belongs to Implements SaX::SaXImportIF. Definition at line 101 of file import.cpp. Referenced by SaX::SaXConfig::addImport(), SaX::SaXExport::SaXExport(), SaX::SaXManipulateCard::SaXManipulateCard(), SaX::SaXManipulateDesktop::SaXManipulateDesktop(), SaX::SaXManipulateDevices::SaXManipulateDevices(), SaX::SaXManipulateExtensions::SaXManipulateExtensions(), SaX::SaXManipulateKeyboard::SaXManipulateKeyboard(), SaX::SaXManipulateLayout::SaXManipulateLayout(), SaX::SaXManipulatePath::SaXManipulatePath(), SaX::SaXManipulatePointers::SaXManipulatePointers(), and SaX::SaXManipulateVNC::SaXManipulateVNC(). |
|
return the section name corresponding to the section ID Implements SaX::SaXImportIF. Definition at line 111 of file import.cpp. |
|
set the ISAX data source which can be the current used configuration (SAX_SYSTEM_CONFIG) or the data stored inside SaX2 after the hardware detection has been called (SAX_AUTO_PROBE) Implements SaX::SaXImportIF. Definition at line 86 of file import.cpp. |