Sets the application name, the domain and base directories for the Dissemino application. These are as per the following arguments:-

Return TypeFunction nameArguments
hzEcodehdsApp::InitApp(hzDomain&,hzString&,hzString&,)

Declared in file: hzDissemino.h
Defined in file : hdsCore.cpp

Function Logic:

0:START 1:unknown 2:Return E_SETONCE 3:unknown 4:Return E_ARGUMENT 5:m_Appname m_Domain m_BaseDir m_RootFile 6:Return E_OK

Function body:

hzEcode hdsApp::InitApp (hzDomain& domain)hzString& baseDir, hzString& rootFile, 
{
   //  Category: Dissemino System Initialization
   //  
   //  Sets the application name, the domain and base directories for the Dissemino application. These are as per the following arguments:-
   //  
   //  Arguments: 1) appname The application name. This must be unique as seen by the delta server
   //     2) domain The domain name the application will act as part or whole website for
   //     3) baseDir The base directory. From this a number of directories including the document root, will be set
   //  
   //  Returns: E_SETONCE If this function has already been called
   //     E_ARGUMENT If any of the arguments are NULL
   //     E_FORMAT If the domain name is not a valid domain
   //     E_NOTFOUND If the base directory does not exist
   //     E_OK  If success
   _hzfunc("hdsApp::Init") ;
   if (m_Domain)
       return E_SETONCE ;
   if (!domain || !baseDir || !rootFile)
       return E_ARGUMENT ;
   m_Appname = domain ;
   m_Domain = domain ;
   m_BaseDir = baseDir ;
   m_RootFile = rootFile ;
   return E_OK ;
}