Source: /app/hbasic/hbasic/hbdata/hb_query_desc.h


Annotated List
Files
Globals
Hierarchy
Index

#ifndef HBQUERYDESC_H
#define HBQUERYDESC_H

#include 
#include "hbobject.h"
#include "../src/structs.h"

#define QTYPE_SELECT 0
#define QTYPE_CREATE 1
#define QTYPE_APPEND 2
#define QTYPE_UPDATE 3
#define QTYPE_DELETE 4

/* ----------------------------------- */
/* Define structures to store queries. */

class HBQueryDesc : public QObject, public HBObject
{
public:
	HBQueryDesc( char *query_name );
	void saveToFile( QFile *f );

	/* Query name in QObject */

	short num_columns;

	/* Query type: see QTYPE_* defines in this file */

	short query_type;

	/* Name of table to which selected data rows should be added */
	QString *table_name;
};

#endif


Generated by: root on linux on Sun Jul 13 18:06:35 2003, using kdoc 2.0a54.