AntiVirusConfiguration::eAVAction 
   AntiVirusConfiguration::AVAction() const
   {
      switch (GetSettings_()->GetLong(PROPERTY_AV_ACTION))
      {
      case 0:
         return ActionDelete;
      case 1:
         return ActionStripAttachments;
      }

      return ActionDelete;
   }  
 bool 
 AntiVirusConfiguration::AVNotifyReceiver()
 {
    return GetSettings_()->GetBool(PROPERTY_AV_NOTIFY_RECEIVER);
 } 
Exemplo n.º 3
0
 int
 CacheConfiguration::GetDistributionListCacheTTL() const
 {
    return (GetSettings_()->GetLong(PROPERTY_DISTRIBUTIONLISTCACHETTL));
 }
Exemplo n.º 4
0
 int
 CacheConfiguration::GetAliasCacheTTL() const
 {
    return (GetSettings_()->GetLong(PROPERTY_ALIASCACHETTL));
 }
Exemplo n.º 5
0
 int
 CacheConfiguration::GetAccountCacheTTL() const
 {
    return (GetSettings_()->GetLong(PROPERTY_ACCOUNTCACHETTL));
 }
Exemplo n.º 6
0
 int
 CacheConfiguration::GetDomainCacheTTL() const
 {
    return (GetSettings_()->GetLong(PROPERTY_DOMAINCACHETTL));
 }
Exemplo n.º 7
0
 bool
 CacheConfiguration::GetUseCache() const
 {
    return (GetSettings_()->GetBool(PROPERTY_USECACHE));
 }
   void 
	AntiVirusConfiguration::SetCustomScannerReturnValue(long lValue)
   {
	   GetSettings_()->SetLong(PROPERTY_CUSTOMSCANNERRETURNVALUE, lValue);
   }
   void
	AntiVirusConfiguration::ClamWinEnabled(bool newVal) 
   {
	   GetSettings_()->SetBool(PROPERTY_AV_CLAMWIN_ENABLE, newVal);
   }
 int 
 AntiVirusConfiguration::GetClamAVPort() 
 {
    return GetSettings_()->GetLong(PROPERTY_CLAMAV_PORT);
 }
 void
 AntiVirusConfiguration::SetClamAVPort(int newVal)
 {
    GetSettings_()->SetLong(PROPERTY_CLAMAV_PORT, newVal);
 }
 String 
 AntiVirusConfiguration::GetClamAVHost() 
 {
    return GetSettings_()->GetString(PROPERTY_CLAMAV_HOST);
 }
 void
 AntiVirusConfiguration::SetClamAVHost(const String &newVal)
 {
    GetSettings_()->SetString(PROPERTY_CLAMAV_HOST, newVal);
 }
 bool 
 AntiVirusConfiguration::GetClamAVEnabled() 
 {
    return GetSettings_()->GetBool(PROPERTY_CLAMAV_ENABLED);
 }
 void
 AntiVirusConfiguration::SetClamAVEnabled(bool newVal)
 {
    GetSettings_()->SetBool(PROPERTY_CLAMAV_ENABLED, newVal);
 }
   void 
	AntiVirusConfiguration::SetCustomScannerExecutable(const String & sValue)
   {
	   GetSettings_()->SetString(PROPERTY_CUSTOMSCANNEREXECUTABLE, sValue);
   }
   String
	AntiVirusConfiguration::GetCustomScannerExecutable() const
   {
	   return GetSettings_()->GetString(PROPERTY_CUSTOMSCANNEREXECUTABLE);
   }
   bool 
	AntiVirusConfiguration::ClamWinEnabled() const
   {
	   return GetSettings_()->GetBool(PROPERTY_AV_CLAMWIN_ENABLE);
   }  
   long
	AntiVirusConfiguration::GetCustomScannerReturnValue() const
   {
	   return GetSettings_()->GetLong(PROPERTY_CUSTOMSCANNERRETURNVALUE);
   }
   void 
	AntiVirusConfiguration::ClamWinExecutable(const String & sValue)
   {
	   GetSettings_()->SetString(PROPERTY_AV_CLAMWIN_EXEC, sValue);
   }
Exemplo n.º 21
0
 void
 CacheConfiguration::SetUseCache(bool bEnabled)
 {
    GetSettings_()->SetBool(PROPERTY_USECACHE, bEnabled);
 }
   String
	AntiVirusConfiguration::ClamWinExecutable() const
   {
	   return GetSettings_()->GetString(PROPERTY_AV_CLAMWIN_EXEC);
   }
Exemplo n.º 23
0
 void
 CacheConfiguration::SetDomainCacheTTL(int iNewVal)
 {
    GetSettings_()->SetLong(PROPERTY_DOMAINCACHETTL, iNewVal);
 }
   void 
	AntiVirusConfiguration::ClamWinDatabase(const String & sValue)
   {
	   GetSettings_()->SetString(PROPERTY_AV_CLAMWIN_DB, sValue);
   }
Exemplo n.º 25
0
 void
 CacheConfiguration::SetAccountCacheTTL(int iNewVal)
 {
    GetSettings_()->SetLong(PROPERTY_ACCOUNTCACHETTL, iNewVal);
 }
   String
	AntiVirusConfiguration::ClamWinDatabase() const
   {
	   return GetSettings_()->GetString(PROPERTY_AV_CLAMWIN_DB);
   }
Exemplo n.º 27
0
 void
 CacheConfiguration::SetAliasCacheTTL(int iNewVal)
 {
    GetSettings_()->SetLong(PROPERTY_ALIASCACHETTL, iNewVal);
 }
   void
	AntiVirusConfiguration::SetCustomScannerEnabled(bool newVal) 
   {
	   GetSettings_()->SetBool(PROPERTY_USECUSTOMSCANNER, newVal);
   }
Exemplo n.º 29
0
 void
 CacheConfiguration::SetDistributionListCacheTTL(int iNewVal)
 {
    GetSettings_()->SetLong(PROPERTY_DISTRIBUTIONLISTCACHETTL, iNewVal);
 }
   bool 
	AntiVirusConfiguration::GetCustomScannerEnabled() const
   {
	   return GetSettings_()->GetBool(PROPERTY_USECUSTOMSCANNER);
   }