Richard Boegli's CnC_Generals_Zero_Hour Fork WIP
This is documentation of Richard Boegil's Zero Hour Fork
 
Loading...
Searching...
No Matches
CBabylonDlg Class Reference

#include <BabylonDlg.h>

Inherits CDialog.

Public Types

enum  { IDD = IDD_BABYLON_DIALOG }
 

Public Member Functions

int ValidateStrFile (const char *filename)
 
int MatchText (BabylonText *text, BabylonLabel *label, BabylonText **match)
 
int RetranslateText (BabylonText *text, BabylonText *label)
 
void VerifyDialog (TransDB *db, LangID langid)
 
void VerifyTranslations (TransDB *db, LangID langid)
 
int CanProceed (void)
 
int CanOperate (void)
 
int SaveMainDB (void)
 
int UpdateLabel (BabylonLabel *source, BabylonLabel *destination, UPDATEINFO &info, int update=TRUE, int skip=FALSE)
 
int UpdateDB (TransDB *source, TransDB *destination, int update=TRUE)
 
void ProgressComplete (void)
 
void SetProgress (int pos)
 
void InitProgress (int range)
 
int SaveLog (void)
 
void Status (const char *string, int log=TRUE)
 
void Log (const char *string, LogFormat format=NEW_LINE)
 
 CBabylonDlg (CWnd *pParent=NULL)
 
virtual ~CBabylonDlg ()
 
int LoadStrFile (TransDB *db, const char *fileaname, void(*cb)(void)=NULL)
 
void Ready (void)
 

Protected Member Functions

virtual void DoDataExchange (CDataExchange *pDX)
 
BOOL CanExit ()
 
virtual BOOL OnInitDialog ()
 
afx_msg void OnSysCommand (UINT nID, LPARAM lParam)
 
afx_msg void OnPaint ()
 
afx_msg HCURSOR OnQueryDragIcon ()
 
afx_msg void OnClose ()
 
afx_msg void OnDropFiles (HDROP hDropInfo)
 
afx_msg void OnViewdbs ()
 
afx_msg void OnReload ()
 
afx_msg void OnUpdate ()
 
afx_msg void OnSave ()
 
afx_msg void OnWarnings ()
 
afx_msg void OnErrors ()
 
afx_msg void OnChanges ()
 
afx_msg void OnExport ()
 
afx_msg void OnImport ()
 
afx_msg void OnGenerate ()
 
afx_msg void OnVerifyDialog ()
 
afx_msg void OnTranslations ()
 
afx_msg void OnSelchangeCombolang ()
 
afx_msg void OnReports ()
 
afx_msg void OnDblclkCombolang ()
 
afx_msg void OnReset ()
 
afx_msg void OnSent ()
 

Protected Attributes

CBabylonDlgAutoProxym_pAutoProxy
 
HICON m_hIcon
 

Friends

class CBabylonDlgAutoProxy
 

Detailed Description

Definition at line 66 of file BabylonDlg.h.

Member Enumeration Documentation

◆ anonymous enum

anonymous enum
Enumerator
IDD 

Definition at line 105 of file BabylonDlg.h.

Constructor & Destructor Documentation

◆ CBabylonDlg()

CBabylonDlg::CBabylonDlg ( CWnd * pParent = NULL)

Definition at line 199 of file BabylonDlg.cpp.

◆ ~CBabylonDlg()

CBabylonDlg::~CBabylonDlg ( )
virtual

Definition at line 210 of file BabylonDlg.cpp.

Member Function Documentation

◆ CanExit()

BOOL CBabylonDlg::CanExit ( )
protected

Definition at line 425 of file BabylonDlg.cpp.

◆ CanOperate()

int CBabylonDlg::CanOperate ( void )

Definition at line 1190 of file BabylonDlg.cpp.

◆ CanProceed()

int CBabylonDlg::CanProceed ( void )

Definition at line 1155 of file BabylonDlg.cpp.

◆ DoDataExchange()

void CBabylonDlg::DoDataExchange ( CDataExchange * pDX)
protectedvirtual

Definition at line 220 of file BabylonDlg.cpp.

◆ InitProgress()

void CBabylonDlg::InitProgress ( int range)

Definition at line 1431 of file BabylonDlg.cpp.

◆ LoadStrFile()

int CBabylonDlg::LoadStrFile ( TransDB * db,
const char * fileaname,
void(* cb )(void) = NULL )

Definition at line 1038 of file BabylonDlg.cpp.

◆ Log()

void CBabylonDlg::Log ( const char * string,
LogFormat format = NEW_LINE )

Definition at line 633 of file BabylonDlg.cpp.

◆ MatchText()

int CBabylonDlg::MatchText ( BabylonText * text,
BabylonLabel * label,
BabylonText ** match )

Definition at line 2077 of file BabylonDlg.cpp.

◆ OnChanges()

void CBabylonDlg::OnChanges ( )
protected

Definition at line 2116 of file BabylonDlg.cpp.

◆ OnClose()

void CBabylonDlg::OnClose ( )
protected

Definition at line 395 of file BabylonDlg.cpp.

◆ OnDblclkCombolang()

void CBabylonDlg::OnDblclkCombolang ( )
protected

Definition at line 2539 of file BabylonDlg.cpp.

◆ OnDropFiles()

void CBabylonDlg::OnDropFiles ( HDROP hDropInfo)
protected

Definition at line 500 of file BabylonDlg.cpp.

◆ OnErrors()

void CBabylonDlg::OnErrors ( )
protected

Definition at line 2067 of file BabylonDlg.cpp.

◆ OnExport()

void CBabylonDlg::OnExport ( )
protected

Definition at line 471 of file BabylonDlg.cpp.

◆ OnGenerate()

void CBabylonDlg::OnGenerate ( )
protected

Definition at line 2146 of file BabylonDlg.cpp.

◆ OnImport()

void CBabylonDlg::OnImport ( )
protected

Definition at line 2130 of file BabylonDlg.cpp.

◆ OnInitDialog()

BOOL CBabylonDlg::OnInitDialog ( )
protectedvirtual

Definition at line 258 of file BabylonDlg.cpp.

◆ OnPaint()

void CBabylonDlg::OnPaint ( )
protected

Definition at line 357 of file BabylonDlg.cpp.

◆ OnQueryDragIcon()

HCURSOR CBabylonDlg::OnQueryDragIcon ( )
protected

Definition at line 384 of file BabylonDlg.cpp.

◆ OnReload()

void CBabylonDlg::OnReload ( )
protected

Definition at line 1226 of file BabylonDlg.cpp.

◆ OnReports()

void CBabylonDlg::OnReports ( )
protected

Definition at line 2524 of file BabylonDlg.cpp.

◆ OnReset()

void CBabylonDlg::OnReset ( )
protected

Definition at line 2544 of file BabylonDlg.cpp.

◆ OnSave()

void CBabylonDlg::OnSave ( )
protected

Definition at line 1993 of file BabylonDlg.cpp.

◆ OnSelchangeCombolang()

void CBabylonDlg::OnSelchangeCombolang ( )
protected

Definition at line 2501 of file BabylonDlg.cpp.

◆ OnSent()

void CBabylonDlg::OnSent ( )
protected

Definition at line 2558 of file BabylonDlg.cpp.

◆ OnSysCommand()

void CBabylonDlg::OnSysCommand ( UINT nID,
LPARAM lParam )
protected

Definition at line 340 of file BabylonDlg.cpp.

◆ OnTranslations()

void CBabylonDlg::OnTranslations ( )
protected

Definition at line 2490 of file BabylonDlg.cpp.

◆ OnUpdate()

void CBabylonDlg::OnUpdate ( )
protected

Definition at line 1477 of file BabylonDlg.cpp.

◆ OnVerifyDialog()

void CBabylonDlg::OnVerifyDialog ( )
protected

Definition at line 2265 of file BabylonDlg.cpp.

◆ OnViewdbs()

void CBabylonDlg::OnViewdbs ( )
protected

Definition at line 733 of file BabylonDlg.cpp.

◆ OnWarnings()

void CBabylonDlg::OnWarnings ( )
protected

Definition at line 2056 of file BabylonDlg.cpp.

◆ ProgressComplete()

void CBabylonDlg::ProgressComplete ( void )

Definition at line 1471 of file BabylonDlg.cpp.

◆ Ready()

void CBabylonDlg::Ready ( void )
inline

Definition at line 101 of file BabylonDlg.h.

◆ RetranslateText()

int CBabylonDlg::RetranslateText ( BabylonText * text,
BabylonText * label )

Definition at line 2101 of file BabylonDlg.cpp.

◆ SaveLog()

int CBabylonDlg::SaveLog ( void )

Definition at line 685 of file BabylonDlg.cpp.

◆ SaveMainDB()

int CBabylonDlg::SaveMainDB ( void )

Definition at line 2002 of file BabylonDlg.cpp.

◆ SetProgress()

void CBabylonDlg::SetProgress ( int pos)

Definition at line 1444 of file BabylonDlg.cpp.

◆ Status()

void CBabylonDlg::Status ( const char * string,
int log = TRUE )

Definition at line 665 of file BabylonDlg.cpp.

◆ UpdateDB()

int CBabylonDlg::UpdateDB ( TransDB * source,
TransDB * destination,
int update = TRUE )

Definition at line 1732 of file BabylonDlg.cpp.

◆ UpdateLabel()

int CBabylonDlg::UpdateLabel ( BabylonLabel * source,
BabylonLabel * destination,
UPDATEINFO & info,
int update = TRUE,
int skip = FALSE )

Definition at line 1498 of file BabylonDlg.cpp.

◆ ValidateStrFile()

int CBabylonDlg::ValidateStrFile ( const char * filename)

Definition at line 2159 of file BabylonDlg.cpp.

◆ VerifyDialog()

void CBabylonDlg::VerifyDialog ( TransDB * db,
LangID langid )

Definition at line 2274 of file BabylonDlg.cpp.

◆ VerifyTranslations()

void CBabylonDlg::VerifyTranslations ( TransDB * db,
LangID langid )

Definition at line 2416 of file BabylonDlg.cpp.

Friends And Related Symbol Documentation

◆ CBabylonDlgAutoProxy

friend class CBabylonDlgAutoProxy
friend

Definition at line 69 of file BabylonDlg.h.

Member Data Documentation

◆ m_hIcon

HICON CBabylonDlg::m_hIcon
protected

Definition at line 118 of file BabylonDlg.h.

◆ m_pAutoProxy

CBabylonDlgAutoProxy* CBabylonDlg::m_pAutoProxy
protected

Definition at line 117 of file BabylonDlg.h.


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