Replaced forward declarations

This commit is contained in:
Robert Osfield
2009-06-17 16:54:39 +00:00
parent 3a3a8567d4
commit 73b423ad85
4 changed files with 5 additions and 4 deletions

View File

@@ -39,7 +39,7 @@ namespace osgAnimation
{
public:
std::vector<FrameAction> _stackFrameAction;
std::vector<osg::ref_ptr<Timeline> > _stackTimeline;
std::vector<Timeline*> _stackTimeline;
META_ActionVisitor(osgAnimation, ActionVisitor);
void traverse(Action& visitor);

View File

@@ -23,11 +23,10 @@
#include <osgAnimation/Action>
#include <osgAnimation/FrameAction>
#include <osgAnimation/AnimationManagerBase>
#include <osgAnimation/StatsVisitor>
namespace osgAnimation
{
class StatsActionVisitor;
class OSGANIMATION_EXPORT Timeline : public Action //osg::Object
{
public:

View File

@@ -35,6 +35,8 @@ class OSGDB_EXPORT FileList : public osg::Object
FileNames& getFileNames() { return _files; }
const FileNames& getFileNames() const { return _files; }
bool empty() const { return _files.empty(); }
bool containsFile(const std::string& filename) const { return _files.count(filename)!=0; }
void addFile(const std::string& filename) { _files.insert(filename); }