/***************************************************************************
 *                          Zanoza Modeler v2.x                            *
 *      This is unpublished propietary source code of Zanoza Software.     *
 *      The copyright notice does not evidence any actual or intended      *
 *                    publication of such source code.                     *
 *                                                                         *
 *                Copyright (c) 2002-2008 Zanoza Software.                 *
 *                                                                         *
 *                        All rights reserved.                             *
 ***************************************************************************
 *--------------------------------------------------------------------------
 * @author:   Oleg Melashenko
 *--------------------------------------------------------------------------
 * @purpose:  Declaration of the class IProfileable
 *   Interface for supporting profiling
 *--------------------------------------------------------------------------
 * @created: Thursday, April 03, 2003 13:01:42
 */

#if !defined(IProfileable_h_included)
#define IProfileable_h_included
//forward declaration of this class might require
namespace core
{ class IProfileable; };
#include <zmodeler.h>
#include <core/coreTypes.h>
#include <core/events/eventsTypes.h>
#include <services/IProfilingService.h>


namespace core
{
  
  class IProfileable : public ZUnknown
  {
  public:
    /* Loads profile */
    virtual ZRESULT loadProfile(services::IProfilingService* pProfiler, ZStringSeq* pSeqParent=NULL)=0;
    /* saves profile records */
    virtual ZRESULT saveProfile(services::IProfilingService* pProfiler, ZStringSeq* pSeqParent=NULL)=0;
  
  };//class IProfileable
};//core

#endif
