Add rayman2 source files
This commit is contained in:
18
Rayman_X/cpa/tempgrp/Tut/Inc/StdAfx.h
Normal file
18
Rayman_X/cpa/tempgrp/Tut/Inc/StdAfx.h
Normal file
@@ -0,0 +1,18 @@
|
||||
// stdafx.h : include file for standard system include files,
|
||||
// or project specific include files that are used frequently, but
|
||||
// are changed infrequently
|
||||
//
|
||||
#ifndef __STDAAFX_H__
|
||||
#define __STDAAFX_H__
|
||||
|
||||
#define VC_EXTRALEAN // Exclude rarely-used stuff from Windows headers
|
||||
|
||||
#include <afxwin.h> // MFC core and standard components
|
||||
#include <afxext.h> // MFC extensions
|
||||
#ifndef _AFX_NO_AFXCMN_SUPPORT
|
||||
#include <afxcmn.h> // MFC support for Windows 95 Common Controls
|
||||
#endif // _AFX_NO_AFXCMN_SUPPORT
|
||||
|
||||
|
||||
#endif //__STDAAFX_H__
|
||||
|
51
Rayman_X/cpa/tempgrp/Tut/Inc/TutInter.hpp
Normal file
51
Rayman_X/cpa/tempgrp/Tut/Inc/TutInter.hpp
Normal file
@@ -0,0 +1,51 @@
|
||||
//*****************************************************************************
|
||||
//* TutInter.hpp *
|
||||
//*****************************************************************************
|
||||
//* *
|
||||
//* This file contains the declaration of the TUT_Interface class, *
|
||||
//* the interface of the TUT dll. *
|
||||
//* *
|
||||
//*****************************************************************************
|
||||
//* Author : Alexis Vaisse *
|
||||
//*****************************************************************************
|
||||
|
||||
|
||||
#ifndef __TUTINTER_HPP__
|
||||
#define __TUTINTER_HPP__
|
||||
|
||||
#define DLL_ONLY_ONE_INSTANCE
|
||||
|
||||
|
||||
//-----------------------------------------------------------------------------
|
||||
|
||||
class TUT_Interface : public CPA_ToolDLLBase
|
||||
{
|
||||
public:
|
||||
TUT_Interface (); // Constructor;
|
||||
|
||||
void fn_vConstruct (void);
|
||||
long OnQueryAction (CPA_EditorBase * _pCallingDll , WPARAM , LPARAM);
|
||||
BOOL _OnKeyDown (UINT nChar , UINT nRepCnt , UINT nFlags);
|
||||
//Menus
|
||||
BOOL fn_bDefineSubMenu (EDT_SubMenu *_p_oEDTSubMenu);
|
||||
void _OnSubMenuCommand (EDT_SubMenu *_p_oEDTSubMenu,UINT uiMsgID);
|
||||
private:
|
||||
BOOL m_bAutoRun; // TRUE if the Script must be run in the fn_vConstruct
|
||||
BOOL m_bBackGroundActive; // TRUE if the "CTRL+SHIFT" is actived
|
||||
CString m_csScriptFileName; // Name of the Script File to execute
|
||||
CString m_csScriptPathName; // Name of the Script File to execute
|
||||
BOOL m_bScriptRecursive;
|
||||
BOOL m_bRecording;
|
||||
private:
|
||||
void m_fn_vLoadPreferences (void);
|
||||
void m_fn_vWritePreferences (void);
|
||||
void m_fn_vStartStopRecord (void);
|
||||
};
|
||||
|
||||
//-----------------------------------------------------------------------------
|
||||
|
||||
|
||||
extern tdstDLLIdentity g_stTUT_Identity;
|
||||
|
||||
|
||||
#endif // __TUTINTER_HPP__
|
70
Rayman_X/cpa/tempgrp/Tut/Inc/dlginput.hpp
Normal file
70
Rayman_X/cpa/tempgrp/Tut/Inc/dlginput.hpp
Normal file
@@ -0,0 +1,70 @@
|
||||
#if !defined(AFX_DLGINPUT_HPP__AD22A6C5_994B_11D1_B302_0060973673C5__INCLUDED_)
|
||||
#define AFX_DLGINPUT_HPP__AD22A6C5_994B_11D1_B302_0060973673C5__INCLUDED_
|
||||
|
||||
#if _MSC_VER >= 1000
|
||||
#pragma once
|
||||
#endif // _MSC_VER >= 1000
|
||||
// dlginput.hpp : header file
|
||||
//
|
||||
|
||||
#include "resource.h"
|
||||
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
// CDialogInput dialog
|
||||
|
||||
class CDialogInput : public CDialog
|
||||
{
|
||||
// Construction
|
||||
public:
|
||||
CDialogInput(const CString _csStaticText, const CString _csPathText = "",
|
||||
const CString _csFileText = "", BOOL _bRecursive = FALSE , CWnd* pParent = NULL); // standard constructor
|
||||
|
||||
// Dialog Data
|
||||
//{{AFX_DATA(CDialogInput)
|
||||
enum { IDD = IDD_DIALOG_INPUTTEXT };
|
||||
// NOTE: the ClassWizard will add data members here
|
||||
//}}AFX_DATA
|
||||
|
||||
|
||||
CString m_fn_csGetEditText(void) { return m_csEditText; }
|
||||
CString m_fn_csGetPath(void) { return m_csPathText; }
|
||||
BOOL m_fn_bGetRecurse(void) { return m_bRecursive; }
|
||||
// Overrides
|
||||
// ClassWizard generated virtual function overrides
|
||||
//{{AFX_VIRTUAL(CDialogInput)
|
||||
protected:
|
||||
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
|
||||
//}}AFX_VIRTUAL
|
||||
|
||||
// Implementation
|
||||
protected:
|
||||
|
||||
// Generated message map functions
|
||||
//{{AFX_MSG(CDialogInput)
|
||||
virtual void OnOK();
|
||||
virtual BOOL OnInitDialog();
|
||||
afx_msg void OnDestroy();
|
||||
afx_msg void OnBtBrowse();
|
||||
afx_msg void OnBtRead();
|
||||
afx_msg void OnSelChange();
|
||||
afx_msg void OnDoubleClick();
|
||||
afx_msg void OnDrawItem(int nIDCtl, LPDRAWITEMSTRUCT lpDrawItemStruct);
|
||||
//}}AFX_MSG
|
||||
DECLARE_MESSAGE_MAP()
|
||||
|
||||
private:
|
||||
CString m_csStaticText;
|
||||
CString m_csEditText;
|
||||
CString m_csPathText;
|
||||
CString m_csFileText;
|
||||
BOOL m_bRecursive;
|
||||
private:
|
||||
void m_fn_vFillList ( void );
|
||||
void m_fn_vRecurFillList( const CString _csBeginPathName , const CString _csCurrentPathName, BOOL _bRecursive );
|
||||
|
||||
};
|
||||
|
||||
//{{AFX_INSERT_LOCATION}}
|
||||
// Microsoft Developer Studio will insert additional declarations immediately before the previous line.
|
||||
|
||||
#endif // !defined(AFX_DLGINPUT_HPP__AD22A6C5_994B_11D1_B302_0060973673C5__INCLUDED_)
|
Reference in New Issue
Block a user