#ifndef LIBXL_CPP_H #define LIBXL_CPP_H #define LIBXL_VERSION 0x03080100 #include "IBookT.h" #include "ISheetT.h" #include "IFormatT.h" #include "IFontT.h" #include "IAutoFilterT.h" #include "IFilterColumnT.h" namespace libxl { #ifdef _UNICODE typedef IBookT Book; typedef ISheetT Sheet; typedef IFormatT Format; typedef IFontT Font; typedef IAutoFilterT AutoFilter; typedef IFilterColumnT FilterColumn; #define xlCreateBook xlCreateBookW #define xlCreateXMLBook xlCreateXMLBookW #else typedef IBookT Book; typedef ISheetT Sheet; typedef IFormatT Format; typedef IFontT Font; typedef IAutoFilterT AutoFilter; typedef IFilterColumnT FilterColumn; #define xlCreateBook xlCreateBookA #define xlCreateXMLBook xlCreateXMLBookA #endif } #endif