Shinya Kitaoka 810553
#pragma once
Toshihiro Shimizu 890ddd
Toshihiro Shimizu 890ddd
#ifndef COMPOSITESTATUS_H
Toshihiro Shimizu 890ddd
#define COMPOSITESTATUS_H
Toshihiro Shimizu 890ddd
Toshihiro Shimizu 890ddd
/*****************************************************************************\
Toshihiro Shimizu 890ddd
*                                                                             *
Toshihiro Shimizu 890ddd
*                           Author Fabrizio Morciano                          *
Toshihiro Shimizu 890ddd
*                                                                             *
Toshihiro Shimizu 890ddd
\*****************************************************************************/
Toshihiro Shimizu 890ddd
Toshihiro Shimizu 890ddd
#include "tcommon.h"
Toshihiro Shimizu 890ddd
#include "tstroke.h"
Toshihiro Shimizu 890ddd
Toshihiro Shimizu 890ddd
#undef DVAPI
Toshihiro Shimizu 890ddd
#undef DVVAR
Toshihiro Shimizu 890ddd
#ifdef TNZEXT_EXPORTS
Toshihiro Shimizu 890ddd
#define DVAPI DV_EXPORT_API
Toshihiro Shimizu 890ddd
#define DVVAR DV_EXPORT_VAR
Toshihiro Shimizu 890ddd
#else
Toshihiro Shimizu 890ddd
#define DVAPI DV_IMPORT_API
Toshihiro Shimizu 890ddd
#define DVVAR DV_IMPORT_VAR
Toshihiro Shimizu 890ddd
#endif
Toshihiro Shimizu 890ddd
Toshihiro Shimizu 890ddd
#include <vector></vector>
Toshihiro Shimizu 890ddd
#include <string></string>
Toshihiro Shimizu 890ddd
Shinya Kitaoka 120a6e
namespace ToonzExt {
Toshihiro Shimizu 890ddd
Toshihiro Shimizu 890ddd
/**
Toshihiro Shimizu 890ddd
   * This class mantains interal data for Dragger manipulator.
Toshihiro Shimizu 890ddd
   */
Shinya Kitaoka 120a6e
class DVAPI CompositeStatus {
Toshihiro Shimizu 890ddd
private:
Shinya Kitaoka 120a6e
  std::map<std::string, *="" compositestatus=""> *dbImpl_;</std::string,>
Toshihiro Shimizu 890ddd
Shinya Kitaoka 120a6e
  std::map<std::string, *="" compositestatus=""> &db_;</std::string,>
Toshihiro Shimizu 890ddd
Shinya Kitaoka 120a6e
  typedef std::map<std::string, *="" compositestatus="">::iterator iterator;</std::string,>
Shinya Kitaoka 120a6e
  typedef std::map<std::string, *="" compositestatus="">::const_iterator</std::string,>
Shinya Kitaoka 120a6e
      const_iterator;
Toshihiro Shimizu 890ddd
Toshihiro Shimizu 890ddd
public:
Shinya Kitaoka 120a6e
  CompositeStatus();
Shinya Kitaoka 120a6e
  virtual ~CompositeStatus();
Toshihiro Shimizu 890ddd
Shinya Kitaoka 120a6e
  void add(CompositeStatus *, const std::string &name);
Toshihiro Shimizu 890ddd
Shinya Kitaoka 120a6e
  void remove(const std::string &name);
Toshihiro Shimizu 890ddd
Shinya Kitaoka 120a6e
  CompositeStatus *find(const std::string &name) const;
Toshihiro Shimizu 890ddd
};
Toshihiro Shimizu 890ddd
Toshihiro Shimizu 890ddd
//---------------------------------------------------------------------------
Toshihiro Shimizu 890ddd
}
Toshihiro Shimizu 890ddd
#endif /* COMPOSITESTATUS_H */