diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-02-17 00:32:19 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-02-17 00:32:19 +0000 |
commit | 0d382a262c0638d0f572fc37193ccc5ed3dc895f (patch) | |
tree | 8578dcddfce4191f3f7a142a37769df7add48475 /libk9copy/k9script.h | |
download | k9copy-0d382a262c0638d0f572fc37193ccc5ed3dc895f.tar.gz k9copy-0d382a262c0638d0f572fc37193ccc5ed3dc895f.zip |
Added old abandoned version of k9copy
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/k9copy@1091546 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'libk9copy/k9script.h')
-rw-r--r-- | libk9copy/k9script.h | 55 |
1 files changed, 55 insertions, 0 deletions
diff --git a/libk9copy/k9script.h b/libk9copy/k9script.h new file mode 100644 index 0000000..853e3cb --- /dev/null +++ b/libk9copy/k9script.h @@ -0,0 +1,55 @@ +// +// C++ Interface: k9script +// +// Description: +// +// +// Author: Jean-Michel PETIT <[email protected]>, (C) 2006 +// +// Copyright: See COPYING file that comes with this distribution +// +// +#ifndef K9SCRIPT_H +#define K9SCRIPT_H +#include "k9common.h" +/** + @author Jean-Michel PETIT <[email protected]> +*/ + +class k9DVD; + +class k9Script{ +private: + ifo_handle_t *m_ifo; + k9DVD *m_dvd; + vm_cmd_t m_cmd; +protected: + vm_cmd_t *JUMPTT(char title,char register1,char register2); + vm_cmd_t *JUMPVMGM_MENU(); + vm_cmd_t *GOTO(char line,char register1,char value); + vm_cmd_t *GOTO(char line); + vm_cmd_t *setGPRM(char numReg,uint16_t value); + vm_cmd_t *setGPRMREG(char numReg,uint16_t value); + + vm_cmd_t *CALLVMGM_MENU(); + vm_cmd_t *setSTN(char numAudio,char numSubpicture); + vm_cmd_t *setSTN(char numAngle); + + vm_cmd_t *EXIT(char register1,char register2); + void addPreCmd(pgc_command_tbl_t *command_tbl,vm_cmd_t *cmd); + void insertPreCmd(pgc_command_tbl_t *command_tbl,vm_cmd_t *cmd); + void addPostCmd(pgc_command_tbl_t *command_tbl,vm_cmd_t *cmd); + void addCellCmd(pgc_command_tbl_t *command_tbl,vm_cmd_t *cmd); + void updatePGCIUT_VMG(pgc_command_tbl_t *command_tbl); + void updatePGCIUT_VTS(pgc_command_tbl_t *command_tbl); + void JumpVmg(vm_cmd_t * cmd) ; + void addTitles(pgc_command_tbl_t *command_tbl); +public: + k9Script(ifo_handle_t *_ifo,k9DVD *_dvd); + void updatePGCIUT(); + void updateFPPGC(); + void updatePGC(pgc_t *_pgc,int numVTS,int numPGC); + ~k9Script(); +}; + +#endif |