--- libgig/trunk/src/gig.h 2007/03/06 18:33:30 1076 +++ libgig/trunk/src/gig.h 2007/03/15 00:32:06 1098 @@ -2,7 +2,7 @@ * * * libgig - C++ cross-platform Gigasampler format file access library * * * - * Copyright (C) 2003-2006 by Christian Schoenebeck * + * Copyright (C) 2003-2007 by Christian Schoenebeck * * * * * * This library is free software; you can redistribute it and/or modify * @@ -326,7 +326,7 @@ class Region; class Group; - /** Encapsulates articulation information of a dimension region. + /** @brief Encapsulates articulation information of a dimension region. * * Every Gigasampler Instrument has at least one dimension region * (exactly then when it has no dimension defined). @@ -713,7 +713,9 @@ Group* GetGroup(uint index); Group* AddGroup(); void DeleteGroup(Group* pGroup); + void DeleteGroupOnly(Group* pGroup); virtual ~File(); + virtual void UpdateChunks(); protected: // overridden protected methods from DLS::File virtual void LoadSamples(); @@ -730,7 +732,14 @@ std::list::iterator GroupsIterator; }; - /** Will be thrown whenever a gig specific error occurs while trying to access a Gigasampler File. */ + /** + * Will be thrown whenever a gig specific error occurs while trying to + * access a Gigasampler File. Note: In your application you should + * better catch for RIFF::Exception rather than this one, except you + * explicitly want to catch and handle gig::Exception, DLS::Exception + * and RIFF::Exception independently, which usually shouldn't be + * necessary though. + */ class Exception : public DLS::Exception { public: Exception(String Message);