source file REDProduct.h

Go to the documentation of this file.

#ifndef RED_PRODUCT_H
#define RED_PRODUCT_H


//******************************************************************************
// Copyright (c) 2005 Redway. All rights reserved.
//
// Redway3d is a registered trademark. Any reproduction and / or utilization
// of any material from this document without Redway?s express authorization
// are prohibited.
//******************************************************************************

#include "REDSTL.h"
#include "REDString.h"


//******************************************************************************
//*** RED::Product class *******************************************************
//******************************************************************************

namespace RED
{
  
  // RED::Product types:
  // -------------------
  
  enum PRODUCT
  {
    PROD_UNKNOWN            = -1,
    PROD_REDEXPORTER_MAX    = 0,
    PROD_REDODADEVICE       = 1,
    PROD_REDSDK             = 2,
    PROD_REDPARASOLID       = 3,
    PROD_REDMATERIALEDITOR  = 4,
    PROD_REDC3D             = 5,
    PROD_REDNET             = 6,
    PROD_REDART             = 7,

    PROD_COUNT              = 8,
  };


  enum PLATFORM
  {
    PTM_UNKNOWN = -1,
    PTM_WINDOWS = 0,
    PTM_LINUX   = 1,
    PTM_MACOS   = 2,

    PTM_COUNT   = 3
  };
  
  
  enum HOST_PRODUCT
  {
    HPROD_UNKNOWN       = 0,
    HPROD_AUTODESK_MAX  = 1,
    HPROD_AUTODESK_VIZ  = 2,
  };

  
  // RED::Product class:
  // -------------------
  
  class REDFullExp Product
  {
  
  public:


    static const RED::String& GetProductName( PRODUCT iProduct );


    static const RED::String& GetPlatformName( PLATFORM iPlatform );
  };
};


#endif