(file) Return to ConfigWindows.h CVS log (file) (dir) Up to [Pegasus] / pegasus / src / Pegasus / Common

File: [Pegasus] / pegasus / src / Pegasus / Common / Attic / ConfigWindows.h (download)
Revision: 1.18, Fri May 31 23:56:30 2002 UTC (22 years, 1 month ago) by kumpf
Branch: MAIN
CVS Tags: VERSION_2_00_RC_4, VERSION_2_00_RC_3, VERSION_2_00_RC_2, VERSION_2_00_RC_1, VERSION_2_00_BRANCH, VERSION_1_10
Changes since 1.17: +9 -8 lines
HP-RK Update license header.

//%/////////////////////////////////////////////////////////////////////////////
//
// Copyright (c) 2000, 2001, 2002 BMC Software, Hewlett-Packard Company, IBM,
// The Open Group, Tivoli Systems
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to
// deal in the Software without restriction, including without limitation the
// rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
// sell copies of the Software, and to permit persons to whom the Software is
// furnished to do so, subject to the following conditions:
// 
// THE ABOVE COPYRIGHT NOTICE AND THIS PERMISSION NOTICE SHALL BE INCLUDED IN
// ALL COPIES OR SUBSTANTIAL PORTIONS OF THE SOFTWARE. THE SOFTWARE IS PROVIDED
// "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT
// LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR
// PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
// HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
// ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
//
//==============================================================================
//
// Author: Mike Brasher (mbrasher@bmc.com)
//
// Modified By
//         Ramnath Ravindran (Ramnath.Ravindran@compaq.com)
//
//%/////////////////////////////////////////////////////////////////////////////

#ifndef Pegasus_ConfigWindows_h
#define Pegasus_ConfigWindows_h

#define PEGASUS_OS_TYPE_WINDOWS

#define PEGASUS_IOS_BINARY ,std::ios::binary

#define PEGASUS_OR_IOS_BINARY | std::ios::binary

#define PEGASUS_EXPORT __declspec(dllexport)

#define PEGASUS_IMPORT __declspec(dllimport)

#ifdef PEGASUS_COMMON_INTERNAL
# define PEGASUS_COMMON_LINKAGE PEGASUS_EXPORT
#else
# define PEGASUS_COMMON_LINKAGE PEGASUS_IMPORT
#endif

#ifdef PEGASUS_REPOSITORY_INTERNAL
# define PEGASUS_REPOSITORY_LINKAGE PEGASUS_EXPORT
#else
# define PEGASUS_REPOSITORY_LINKAGE PEGASUS_IMPORT
#endif

#ifdef PEGASUS_PROTOCOL_INTERNAL
# define PEGASUS_PROTOCOL_LINKAGE PEGASUS_EXPORT
#else
# define PEGASUS_PROTOCOL_LINKAGE PEGASUS_IMPORT
#endif

#ifdef PEGASUS_SERVER_INTERNAL
# define PEGASUS_SERVER_LINKAGE PEGASUS_EXPORT
#else
# define PEGASUS_SERVER_LINKAGE PEGASUS_IMPORT
#endif

#ifdef PEGASUS_PROVIDER_INTERNAL
# define PEGASUS_PROVIDER_LINKAGE PEGASUS_EXPORT
#else
# define PEGASUS_PROVIDER_LINKAGE PEGASUS_IMPORT
#endif

#ifdef PEGASUS_COMPILER_INTERNAL
# define PEGASUS_COMPILER_LINKAGE PEGASUS_EXPORT
#else
# define PEGASUS_COMPILER_LINKAGE PEGASUS_IMPORT
#endif

#ifdef PEGASUS_CMDLINE_INTERNAL
# define PEGASUS_CMDLINE_LINKAGE PEGASUS_EXPORT
#else
# define PEGASUS_CMDLINE_LINKAGE PEGASUS_IMPORT
#endif

#ifdef PEGASUS_GETOOPT_INTERNAL
# define PEGASUS_GETOOPT_LINKAGE PEGASUS_EXPORT
#else
# define PEGASUS_GETOOPT_LINKAGE PEGASUS_IMPORT
#endif

#ifdef PEGASUS_HANDLER_INTERNAL
# define PEGASUS_HANDLER_LINKAGE PEGASUS_EXPORT
#else
# define PEGASUS_HANDLER_LINKAGE PEGASUS_IMPORT
#endif

#ifdef PEGASUS_CIMOM_INTERNAL
#define PEGASUS_CIMOM_LINKAGE PEGASUS_EXPORT
#else
#define PEGASUS_CIMOM_LINKAGE PEGASUS_IMPORT
#endif

// Suppress this warning: "identifier was truncated to '255' characters in the
// debug information":
#pragma warning( disable : 4786 )

// Suppress this warning: "class <XXX> needs to have dll-interface to be used 
// by clients of class <YYY>"
#pragma warning ( disable : 4251 )

// Suppress this warning : "'this' : used in base member initializer list"
#pragma warning ( disable : 4355 )

#endif  /* Pegasus_ConfigWindows_h */

No CVS admin address has been configured
Powered by
ViewCVS 0.9.2