home *** CD-ROM | disk | FTP | other *** search
-
- # This file was generated by the SOM Compiler.
- # FileName: .\faxjob1.sc.
- # Generated using:
- # SOM Precompiler spc: 1.22
- # SOM Emitter emitcsc: 1.10
- #include <somobj.sc>
-
- class: FaxJob,
- local, major version = 1, minor version = 3,
- file stem = faxjob1;
-
-
- parent class: SOMObject;
-
-
- release order:
- ulSetupDone, ulJobType, ulJobNumber,
- szFaxNumber, szAttention, ulExternalCall,
- ulPostPolling, ulHighRes, szDocName,
- szFaxMgrId, szUserName, szDocType,
- ulStartTime, ulEndTime, ulRetriesDone,
- ulMaxRetries, ulStatus, ulCriteria,
- ulPtrFaxFile, ulUseCount, ulVersion,
- ulMailing, szErrorMessage, szUserData,
- szFaxObjUserName, Codes, Clear,
- somInit, Get, Create,
- Update, Delete, GetJobType,
- GetJobNumber, GetFaxNumber, GetAttention,
- GetExternalCall, GetDocName, GetFaxMgrId,
- GetUserName, GetDocType, GetStartTime,
- GetEndTime, GetRetriesDone, GetMaxRetries,
- GetStatus, GetCriteria, GetPtrFaxFile,
- GetUseCount, GetVersion, GetMailing,
- GetResolution, GetErrorMessage, GetDocTypes,
- SetJobType, SetJobNumber, SetFaxNumber,
- SetAttention, SetExternalCall, SetDocName,
- SetFaxMgrId, SetUserName, SetDocType,
- SetStartTime, SetEndTime, SetRetriesDone,
- SetMaxRetries, SetStatus, SetCriteria,
- SetPtrFaxFile, SetUseCount, SetVersion,
- SetMailing, Setup, FaxJobReset,
- CODEDTOCLEAR, CLEARTOCODED;
-
-
- passthru: C.h, before;
-
- /* CRITERIA */
- #define FAX_JOB_BYTIME 0
- #define FAX_JOB_BYRETRY 1
-
-
- /* STATE */
- #define FAX_JOB_READY 0
- #define FAX_JOB_HELD 1
- #define FAX_JOB_IN_PROGRESS 2
- #define FAX_JOB_CANCELLED 3
- #define FAX_JOB_LIMIT 4
- #define FAX_JOB_DONE 5
-
- /* TIME */
- #define UNLIMITED_TIME 0x7FFFFFFF
-
-
-
- /* ERRORS */
- #define FAX_JOB_OK 0
- #define FAX_JOBERR_NOSETUP 1000
- #define FAX_JOBERR_BADID 1001
- #define FAX_JOBERR_NOUSERNAME 1002
- #define FAX_JOBERR_STRINGTOOLONG 1003
- #define FAX_JOBERR_MEMORYALLOCFAILED 1004
- #define FAX_JOBERR_JOBINPROGRESS 1005
- #define FAX_JOBERR_BADJOBNUMBER 1006
- #define FAX_JOBERR_BADUSERNAME 1007
- #define FAX_JOBERR_REQUESTNOTFOUND 1008
- #define FAX_JOBERR_CREATEFAILED 1009
- #define FAX_JOBERR_FILENAMECHANGED 1010
- #define FAX_JOBERR_BADFILENAME 1011
- #define FAX_JOBERR_NOFAXNUMBER 1012
- #define FAX_JOBERR_CANNOTGETRECIPIENT 1013
- #define FAX_JOBERR_BADSTATE 1014
-
- endpassthru;
- methods:
-
-
- override somInit;
-
- -- From SOMObject
-
- APIRET Get(ULONG ulJobNumber);
-
- APIRET Create(PULONG pulNewReqNumber);
-
- APIRET Update();
-
- APIRET Delete();
-
- APIRET GetJobNumber(PULONG pulJobNumber);
-
- APIRET GetFaxNumber(PSZ pszFaxNumber,
- PULONG pulLen);
-
- APIRET GetAttention(PSZ pszAttention,
- PULONG pulLen);
-
- APIRET GetExternalCall(PULONG pulExtCall);
-
- APIRET GetDocName(PSZ pszDocName,
- PULONG pulLen);
-
- APIRET GetFaxMgrId(PSZ pszFaxMgrId,
- PULONG pulLen);
-
- APIRET GetUserName(PSZ pszUserName,
- PULONG pulLen);
-
- APIRET GetDocType(PSZ pszDocType,
- PULONG pulLen);
-
- APIRET GetStartTime(PULONG pulTime);
-
- APIRET GetEndTime(PULONG pulTime);
-
- APIRET GetRetriesDone(PULONG pulRetries);
-
- APIRET GetMaxRetries(PULONG pulRetries);
-
- APIRET GetStatus(PULONG pulStatus);
-
- APIRET GetCriteria(PULONG pulCrit);
-
- APIRET GetErrorMessage(PSZ pszErr,
- PULONG pulLen);
-
- APIRET GetDocTypes(PSZ pszDocTypes,
- PULONG pulLen);
-
- APIRET SetJobNumber(ULONG ulJobNumber);
-
- APIRET SetFaxNumber(PSZ pszFaxNumber);
-
- APIRET SetAttention(PSZ pszAttention);
-
- APIRET SetExternalCall(ULONG ulExternalCall);
-
- APIRET SetDocName(PSZ pszDocName);
-
- APIRET SetFaxMgrId(PSZ pszFaxMgrId);
-
- APIRET SetUserName(PSZ pszUserName);
-
- APIRET SetDocType(PSZ pszDocType);
-
- APIRET SetStartTime(ULONG ulStartTime);
-
- APIRET SetEndTime(ULONG ulEndTime);
-
- APIRET SetRetriesDone(ULONG ulRetriesDone);
-
- APIRET SetMaxRetries(ULONG ulMaxRetries);
-
- APIRET SetStatus(ULONG ulStatus);
-
- APIRET SetCriteria(ULONG ulCriteria);
-
- APIRET Setup(PSZ pszUserName);
-
- APIRET FaxJobReset();
-
- APIRET CODEDTOCLEAR(PSZ pszDocType);
-
- APIRET CLEARTOCODED(PSZ pszDocType);
-
-