82 lines
2.0 KiB
C++
82 lines
2.0 KiB
C++
#include "stdafx.h"
|
|
#include "ssalibman_client.h"
|
|
|
|
|
|
SSALibMan_Client::SSALibMan_Client()
|
|
{
|
|
m_lastError = SSA_NOTLOADED;
|
|
m_auth.caricaFileLicenze();
|
|
}
|
|
|
|
int SSALibMan_Client::VerificaModulo(const char* prodotto, const char* modulo)
|
|
{
|
|
m_lastError = m_auth.VerificaModulo(prodotto, modulo);
|
|
return m_lastError;
|
|
}
|
|
|
|
int SSALibMan_Client::VerificaModulo(const char* prodotto, const char* modulo, const char* piva)
|
|
{
|
|
m_lastError = m_auth.VerificaModulo(prodotto, modulo, piva);
|
|
return m_lastError;
|
|
}
|
|
|
|
int SSALibMan_Client::Login(const char* idClient, const char* prodotto)
|
|
{
|
|
m_lastError = m_auth.Login(idClient, prodotto);
|
|
return m_lastError;
|
|
}
|
|
int SSALibMan_Client::Login(const char* idClient, const char* prodotto, const char* piva)
|
|
{
|
|
m_lastError = m_auth.Login(idClient, prodotto, piva);
|
|
return m_lastError;
|
|
}
|
|
|
|
int SSALibMan_Client::ApriModulo(const char* idClient, const char* modulo)
|
|
{
|
|
m_lastError = m_auth.ApriModulo(idClient, modulo);
|
|
return m_lastError;
|
|
}
|
|
|
|
int SSALibMan_Client::ChiudiModulo(const char* idClient, const char* modulo)
|
|
{
|
|
m_lastError = m_auth.ChiudiModulo(idClient, modulo);
|
|
return m_lastError;
|
|
}
|
|
|
|
int SSALibMan_Client::Logout(const char* idClient, const char* prodotto)
|
|
{
|
|
m_lastError = m_auth.Logout(idClient, prodotto);
|
|
return m_lastError;
|
|
}
|
|
|
|
int SSALibMan_Client::Ping(const char* idClient)
|
|
{
|
|
m_lastError = m_auth.Ping(idClient);
|
|
return m_lastError;
|
|
}
|
|
|
|
int SSALibMan_Client::XMLProdottiConfigurati(char* buf, int bufSize)
|
|
{
|
|
return m_auth.GetXMLProdottiConfigurati(buf, bufSize);
|
|
}
|
|
int SSALibMan_Client::XMLUtentiCorrenti(char* buf, int bufSize)
|
|
{
|
|
return m_auth.GetXMLUtentiCorrenti(buf, bufSize);
|
|
}
|
|
int SSALibMan_Client::Id(char* buf, int bufSize)
|
|
{
|
|
return m_auth.GetId(buf, bufSize);
|
|
}
|
|
int SSALibMan_Client::NumeroSerie(const char* prodotto)
|
|
{
|
|
return m_auth.GetNumeroSerie(prodotto);
|
|
}
|
|
int SSALibMan_Client::DataScadenza(const char* prodotto, const char* modulo)
|
|
{
|
|
return m_auth.DataScadenza(prodotto, modulo);
|
|
}
|
|
int SSALibMan_Client::NumMaxUtenti(const char* prodotto, const char* modulo)
|
|
{
|
|
return m_auth.NumMaxUtenti(prodotto, modulo);
|
|
}
|