Common/PrinterInstall.h File Reference

#include "CCTChar.h"
#include <vector>
Include dependency graph for PrinterInstall.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  PrinterInstall
 Base class for installing and removing printer drivers. More...

Defines

#define DRIVER_FILE_NUM   0
 Number of base printer driver file.
#define UI_FILE_NUM   1
 Number of base printer UI file.
#define HELP_FILE_NUM   2
 Number of printer driver help file.
#define DATA_FILE_NUM   3
 Number of printer definitions file (PPD or PCD).

Typedefs

typedef std::vector< std::tstring > STRARRAY
 Array of strings.

Functions

std::tstring ConcatPaths (const std::tstring &sFolder, const std::tstring &sPathname, bool bAllowAbsoluteOverride=true)
 Helper function for combining paths.

Detailed Description

Definition in file PrinterInstall.h.


Function Documentation

std::tstring ConcatPaths ( const std::tstring &  sFolder,
const std::tstring &  sPathname,
bool  bAllowAbsoluteOverride 
)

Helper function for combining paths.

Parameters:
sFolder Folder to combine
sPathname Path to combine (probably relative to sFolder)
bAllowAbsoluteOverride true to allow sPathname to have an absolute path, false to make sure it's relative
Returns:
The combined path

Definition at line 61 of file PrinterInstall.cpp.

References tstring.

Referenced by PrinterInstall::AddPortMonitor(), PrinterInstall::DoCopyFiles(), CCPDFPrinterInstaller::DoInstall(), and PrinterInstall::DoRemoveFiles().


Generated on Mon Jun 18 12:40:28 2012 for CC PDF Converter by doxygen 1.6.1