# FileInfo.h

    00001 //***************************************************************************************
    00002 //
    00003 // File supervisor: Crosswalk team
    00004 //
    00005 // Copyright 2008 Autodesk, Inc.  All rights reserved.
    00006 // Use of this software is subject to the terms of the Autodesk license agreement
    00007 // provided at the time of installation or download, or which otherwise accompanies
    00008 // this software in either electronic or hard copy form.
    00009 //
    00010 //***************************************************************************************
    00011
    00012 #ifndef _FILEINFO_H
    00013 #define _FILEINFO_H
    00014
    00015 #include "Template.h"
    00016
    00020 class XSIEXPORT CSLFileInfo
    00021     : public CSLTemplate
    00022 {
    00023 public:
    00030     CSLFileInfo(CSLScene* in_pScene, CSLModel *in_pModel, CdotXSITemplate* in_pTemplate);
    00031
    00034     virtual ~CSLFileInfo();
    00035
    00039     char* GetOriginator() ;
    00040
    00045     void SetOriginator( char* in_szOriginator );
    00046
    00050     char* GetProjectName() ;
    00051
    00056     void SetProjectName( char* in_szProjectName );
    00057
    00061     char* GetUsername() ;
    00062
    00067     void SetUsername( char* in_szUserName );
    00068
    00072     char* GetSaveDateTime() ;
    00073
    00078     void SetSaveDateTime( char* in_szSaveDateTime );
    00079
    00083     ETemplateType Type();
    00084
    00088     SI_Error Synchronize();
    00089
    00090     CSLStringProxy* GetProjectNameProxy() { return &m_ProjectName; };
    00091     CSLStringProxy* GetUserNameProxy() { return &m_UserName;};
    00092     CSLStringProxy* GetOriginatorProxy() { return &m_Originator;};
    00093     CSLStringProxy* GetSaveDateTimeProxy() { return &m_SaveDateTime;};
    00094
    00095 private:
    00096     CSLStringProxy m_ProjectName;
    00097     CSLStringProxy m_UserName;
    00098     CSLStringProxy m_Originator;
    00099     CSLStringProxy m_SaveDateTime;
    00100
    00101     // reserved for future use
    00102     SI_Void *m_pReserved;
    00103 };
    00104
    00105 #endif
    00106