Changeset 64 for cpp/gdk/extvalue.h


Ignore:
Timestamp:
01/28/11 23:29:40 (13 years ago)
Author:
Maciej Komosinski
Message:

a lot of minor fixes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • cpp/gdk/extvalue.h

    r5 r64  
    1 // This file is a part of Framsticks GDK library.
    2 // Copyright (C) 2002-2006  Szymon Ulatowski.  See LICENSE.txt for details.
    3 // Refer to http://www.frams.alife.pl/ for further information.
     1// This file is a part of the Framsticks GDK library.
     2// Copyright (C) 2002-2011  Szymon Ulatowski.  See LICENSE.txt for details.
     3// Refer to http://www.framsticks.com/ for further information.
    44
    55#ifndef _EXTVALUE_H_
     
    1313
    1414enum ExtPType
    15 {TUnknown=0,TInt,TDouble,TString,TObj};
     15{TUnknown=0,TInt,TDouble,TString,TObj,TInvalid};
    1616
    1717/**
     
    114114        :type(TUnknown) {set(src);}
    115115void setEmpty();
     116void setInvalid() {setEmpty();type=TInvalid;}
    116117ExtPType getType() {return type;}
    117118void *getObjectTarget(const char* classname) {return (type==TObj)?getObject().getTarget(classname):0;}
Note: See TracChangeset for help on using the changeset viewer.