From 29e854354982dcdd8f548ca10b2f2f6b889b280c Mon Sep 17 00:00:00 2001 From: Mike Buland Date: Fri, 9 Nov 2012 17:22:33 +0000 Subject: The attempt to use symlinks in place of the header files was silly. --- c++-qt/gats-qt/list.h | 67 ++++++++++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 66 insertions(+), 1 deletion(-) mode change 120000 => 100644 c++-qt/gats-qt/list.h (limited to 'c++-qt/gats-qt/list.h') diff --git a/c++-qt/gats-qt/list.h b/c++-qt/gats-qt/list.h deleted file mode 120000 index 1a01fc0..0000000 --- a/c++-qt/gats-qt/list.h +++ /dev/null @@ -1 +0,0 @@ -../src/list.h \ No newline at end of file diff --git a/c++-qt/gats-qt/list.h b/c++-qt/gats-qt/list.h new file mode 100644 index 0000000..7577bad --- /dev/null +++ b/c++-qt/gats-qt/list.h @@ -0,0 +1,66 @@ +/* + * Copyright (C) 2007-2012 Xagasoft, All rights reserved. + * + * This file is part of the libgats library and is released under the + * terms of the license contained in the file LICENSE. + */ + +#ifndef GATS_LIST_H +#define GATS_LIST_H + +#include "gats-qt/object.h" +#include + +namespace Gats +{ + class Dictionary; + + class List : public Gats::Object, public QList + { + Q_OBJECT; + public: + List(); + virtual ~List(); + + virtual Object *clone() const; + + virtual Type getType() const { return typeList; } + + virtual void write( QIODevice &rOut ) const; + virtual void read( QIODevice &rIn, char cType ); + + void append( const char *s ); + void append( const QByteArray &s ); + void append( int32_t i ); + void append( int64_t i ); + void append( double d ); + using QList::append; + void appendStr( const QByteArray &s ); + void appendInt( int64_t i ); + void appendFloat( double d ); + void appendBool( bool b ); + void appendList( Gats::List *pL ); + void appendDict( Gats::Dictionary *pD ); + Gats::List *appendList(); + Gats::Dictionary *appendDict(); + + void prepend( const char *s ); + void prepend( const QByteArray &s ); + void prepend( int32_t i ); + void prepend( int64_t i ); + void prepend( double d ); + using QList::prepend; + void prependStr( const QByteArray &s ); + void prependInt( int64_t i ); + void prependFloat( double d ); + void prependBool( bool b ); + void prependList( Gats::List *pL ); + void prependDict( Gats::Dictionary *pD ); + Gats::List *prependList(); + Gats::Dictionary *prependDict(); + }; +}; + +//Bu::Formatter &operator<<( Bu::Formatter &f, const Gats::List &l ); + +#endif -- cgit v1.2.3