QtsHttp  0.9.0
Public Member Functions | List of all members
CQtsHttpShareLinkInfo Class Reference

Share link information class. More...

#include <QtsHttpFileStation.h>

Public Member Functions

 CQtsHttpShareLinkInfo (LPCTSTR strShareFilePath, LPCTSTR strPassword, LPCTSTR strDateTime, BOOL bUseSSL)
 Constructor with parameters. More...
 
LPCTSTR GetShareFilePath ()
 Get path include filename of share file. More...
 
LPCTSTR GetPassword ()
 Get password of share file. More...
 
LPCTSTR GetDateTime ()
 Get share day and hour time. More...
 
BOOL IsSecureMode ()
 Get share file with SSL or not. More...
 
void SetShareFilePath (LPCTSTR strShareFilePath)
 Set path include filename of share file. More...
 
void SetPassword (LPCTSTR strPassword)
 Set password of share file. More...
 
void SetDateTime (LPCTSTR strDataTime)
 Set share day and hour time. More...
 
void SetIsSecureMode (BOOL bUseSSL)
 Set share file with SSL or not. More...
 

Detailed Description

Share link information class.

Constructor & Destructor Documentation

CQtsHttpShareLinkInfo::CQtsHttpShareLinkInfo ( LPCTSTR  strShareFilePath,
LPCTSTR  strPassword,
LPCTSTR  strDateTime,
BOOL  bUseSSL 
)

Constructor with parameters.

Parameters
[IN]strShareFilePath : Share file path include filename.
[IN]strPassword : Share file use password or not.
[IN]strDateTime : Share day and hour time.
[IN]bUseSSL : Share file use SSL or not.
Returns
n/a.

Member Function Documentation

LPCTSTR CQtsHttpShareLinkInfo::GetDateTime ( )

Get share day and hour time.

Returns
LPCTSTR : Share day and hour time.
LPCTSTR CQtsHttpShareLinkInfo::GetPassword ( )

Get password of share file.

Returns
LPCTSTR : Password of share file.
LPCTSTR CQtsHttpShareLinkInfo::GetShareFilePath ( )

Get path include filename of share file.

Returns
LPCTSTR : Share file path include filename.
BOOL CQtsHttpShareLinkInfo::IsSecureMode ( )

Get share file with SSL or not.

Returns
TRUE : Share file with SSL.
FALSE : Share file with non-SSL.
void CQtsHttpShareLinkInfo::SetDateTime ( LPCTSTR  strDataTime)

Set share day and hour time.

Parameters
[IN]strDataTime : Share day and hour time.
Returns
n/a.
Remarks
If strDataTime = 0, share forever.
void CQtsHttpShareLinkInfo::SetIsSecureMode ( BOOL  bUseSSL)

Set share file with SSL or not.

Parameters
[IN]bUseSSL : Share file with SSL or not.
Returns
n/a.
void CQtsHttpShareLinkInfo::SetPassword ( LPCTSTR  strPassword)

Set password of share file.

Parameters
[IN]strPassword : Password of share file.
Returns
n/a.
void CQtsHttpShareLinkInfo::SetShareFilePath ( LPCTSTR  strShareFilePath)

Set path include filename of share file.

Parameters
[IN]strShareFilePath : Share file path include filename.
Returns
n/a.

The documentation for this class was generated from the following file: