ProductFileSupport.h

Go to the documentation of this file.
00001 /*****************************************************************************
00002 * FILE:          ProductFileSupport.h
00003 * DESCRIPTION:  Defines symbols used to support files saved by different 
00004 *                vertical apps. 
00005 * CREATED BY:    Michael Russo
00006 * HISTORY:  
00007 * - 2003.oct.14 - AS - Pulled them out in their own file
00008 ******************************************************************************
00009 * Copyright (c) 2003 Autodesk, All Rights Reserved.
00010 ******************************************************************************/
00011 
00012 #pragma once
00013 
00014 #include "buildver.h"
00015 
00016 // File format support tokens
00017 // Turned on support for DRF files in R6 - aszabo - may.09.03
00018 // Added explicit support for File Replace - aszabo - july.07.03
00019 #define FILE_SUPPORT_NONE       0x000
00020 #define FILE_SUPPORT_OPEN       0x001
00021 #define FILE_SUPPORT_SAVE       0x002
00022 #define FILE_SUPPORT_DEFAULT    0x004
00023 #define FILE_SUPPORT_EXPORT     0x008
00024 #define FILE_SUPPORT_IMPORT     0x010
00025 #define FILE_SUPPORT_MERGE      0x020
00026 #define FILE_SUPPORT_REPLACE    0x040
00027 #define FILE_SUPPORT_XREF       0x080
00028 #define FILE_SUPPORT_RPS_OPEN   0x100   // russom - 12/08/03 Render Presets support
00029 #define FILE_SUPPORT_RPS_SAVE   0x200   // russom - 12/08/03 Render Presets support
00030 
00031 #define FILE_SUPPORT_NATIVE     (FILE_SUPPORT_SAVE | FILE_SUPPORT_OPEN | \
00032                               FILE_SUPPORT_MERGE | FILE_SUPPORT_REPLACE | \
00033                               FILE_SUPPORT_XREF | FILE_SUPPORT_DEFAULT)
00034 
00035 // File formats
00036 
00037 #define FILE_FORMAT_MAX       FILE_SUPPORT_NATIVE
00038 #define FILE_FORMAT_VIZR      FILE_SUPPORT_OPEN
00039 #define FILE_FORMAT_RPS       (FILE_SUPPORT_RPS_OPEN|FILE_SUPPORT_RPS_SAVE)
00040 #define FILE_FORMAT_CHR       (FILE_SUPPORT_SAVE|FILE_SUPPORT_OPEN|FILE_SUPPORT_MERGE|FILE_SUPPORT_REPLACE|FILE_SUPPORT_XREF)
00041 
00042 
00043