summaryrefslogtreecommitdiff
path: root/includes
diff options
context:
space:
mode:
authorpixel <pixel>2003-12-10 02:59:30 +0000
committerpixel <pixel>2003-12-10 02:59:30 +0000
commit5695a4b1e91154f8b9bae6d62eb9313b973fc6bd (patch)
tree071dff4a418b445451954efb04d0c1286b315387 /includes
parent0b266c95523f944e62acf9251eb27450a8d73a04 (diff)
LUALUALUALUALUALUALUALUALUA
Diffstat (limited to 'includes')
-rw-r--r--includes/cdutils.h10
-rw-r--r--includes/isobuilder.h5
-rw-r--r--includes/luacd.h4
3 files changed, 11 insertions, 8 deletions
diff --git a/includes/cdutils.h b/includes/cdutils.h
index 378df15..ea184b5 100644
--- a/includes/cdutils.h
+++ b/includes/cdutils.h
@@ -17,7 +17,7 @@
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
-/* $Id: cdutils.h,v 1.13 2003-12-06 04:26:17 pixel Exp $ */
+/* $Id: cdutils.h,v 1.14 2003-12-10 02:59:31 pixel Exp $ */
#ifndef __CDUTILS_H__
#define __CDUTILS_H__
@@ -81,11 +81,11 @@ class cdutils : public Base {
int guess_type(int number = -1);
void sector_seek(long sector);
long read_sector(Byte * buffer, int type = GUESS, int number = -1);
- void read_datas(Byte * buffer, int type, int number, long size);
- void read_file(Handle * Handle, int type, int number, long size);
+ void read_datas(Byte * buffer, long size, int type = GUESS, int number = -1);
+ void read_file(Handle * Handle, long size, int type = GUESS, int number = -1);
void write_sector(Byte * buffer, int type = GUESS, int number = -1);
- void write_datas(Byte * buffer, int type, int number, long size);
- void write_file(Handle * Handle, int type = GUESS, int number = -1);
+ void write_datas(Byte * buffer, long size, int type = GUESS, int number = -1);
+ void write_file(Handle * Handle, long size = -1, int type = GUESS, int number = -1);
int get_iso_infos();
int show_iso_infos();
int get_pt_infos();
diff --git a/includes/isobuilder.h b/includes/isobuilder.h
index 96bb9d9..7e2aa10 100644
--- a/includes/isobuilder.h
+++ b/includes/isobuilder.h
@@ -17,7 +17,7 @@
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
-/* $Id: isobuilder.h,v 1.6 2003-12-08 15:12:57 pixel Exp $ */
+/* $Id: isobuilder.h,v 1.7 2003-12-10 02:59:31 pixel Exp $ */
#ifndef __ISOBUILDER_H__
#define __ISOBUILDER_H__
@@ -48,6 +48,7 @@ class isobuilder : public Base {
void fromdir(cdutils::DirEntry *);
void dumpdirs(isobuilder *) throw (GeneralException);
int buildpath(Byte * datas, int size, bool bigendian = false) throw (GeneralException);
+ bool isdir();
void setbasicsxa();
int sector;
int size;
@@ -82,7 +83,7 @@ class isobuilder : public Base {
DirTree * setbasics(PVD pvd, int rootsize = 1, int ptsize = 1, int nvd = 1, int rootsect = -1) throw (GeneralException);
DirTree * createdir(DirTree *, const String & _name, int size = 1, cdutils::DirEntry * = 0, int mode = -1) throw (GeneralException);
DirTree * createfile(DirTree *, Handle * file, const String & _name, cdutils::DirEntry * = 0, int mode = -1) throw (GeneralException);
- void copydir(DirTree *, const String & _name, cdutils *, cdutils::DirEntry *, int mode = -1);
+ void copydir(DirTree *, cdutils *, cdutils::DirEntry *, int mode = -1);
static PVD createpvd(Handle *);
static PVD createpvd(cdutils *);
static PVD createpvd(Byte *);
diff --git a/includes/luacd.h b/includes/luacd.h
index 2c66d96..339d843 100644
--- a/includes/luacd.h
+++ b/includes/luacd.h
@@ -17,7 +17,7 @@
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
-/* $Id: luacd.h,v 1.3 2003-12-08 15:12:57 pixel Exp $ */
+/* $Id: luacd.h,v 1.4 2003-12-10 02:59:31 pixel Exp $ */
#ifndef __LUACD_H__
#define __LUACD_H__
@@ -31,6 +31,7 @@
#define CD_PUSHSTATICS(L) { \
Luacdutils::pushstatics(L); \
Luacdfile::pushstatics(L); \
+ Luacddate::pushstatics(L); \
LuaPVD::pushstatics(L); \
LuaDirTree::pushstatics(L); \
Luaisobuilder::pushstatics(L); \
@@ -63,6 +64,7 @@ class Luadirentry : public LuaObject {
class Luacddate : public LuaObject {
public:
+ static void pushstatics(Lua *) throw (GeneralException);
Luacddate(isobuilder::Date *);
private:
virtual void pushmembers(Lua *);