Changeset 2070 for libcaca


Ignore:
Timestamp:
Nov 25, 2007, 9:23:03 PM (13 years ago)
Author:
Sam Hocevar
Message:
  • Added MSVC project files for the C++ bindings and the C++ test.
Location:
libcaca/trunk
Files:
5 added
7 edited

Legend:

Unmodified
Added
Removed
  • libcaca/trunk/caca/caca.h

    r2063 r2070  
    2828
    2929#if !defined(_DOXYGEN_SKIP_ME)
     30#   undef __extern
    3031#   if defined(_WIN32) && defined(__LIBCACA__)
    3132#       define __extern extern __declspec(dllexport)
  • libcaca/trunk/cucul/cucul.h

    r2063 r2070  
    2626
    2727#if !defined(_DOXYGEN_SKIP_ME)
     28#   undef __extern
    2829#   if defined(_WIN32) && defined(__LIBCUCUL__)
    2930#       define __extern extern __declspec(dllexport)
  • libcaca/trunk/cxx/caca++.h

    r2050 r2070  
    2929#include <cucul++.h>
    3030
    31 class Event
     31#if !defined(_DOXYGEN_SKIP_ME)
     32#   undef __class
     33#   if defined(_WIN32) && defined(__LIBCACA_PP__)
     34#       define __class class __declspec(dllexport)
     35#   else
     36#       define __class class
     37#   endif
     38#endif
     39
     40__class Event
    3241{
    3342    friend class Caca;
     
    5160};
    5261
    53 class Caca
     62__class Caca
    5463{
    5564 public:
  • libcaca/trunk/cxx/cucul++.h

    r1959 r2070  
    2727#include <cucul.h>
    2828
     29#if !defined(_DOXYGEN_SKIP_ME)
     30#   undef __class
     31#   if defined(_WIN32) && defined(__LIBCUCUL_PP__)
     32#       define __class class __declspec(dllexport)
     33#   else
     34#       define __class class
     35#   endif
     36#endif
     37
    2938class Cucul;
    3039
    31 class Charset
     40__class Charset
    3241{
    3342 public:
     
    3948
    4049/* Ugly, I know */
    41 class Font
     50__class Font
    4251{
    4352 public:
     
    5564};
    5665
    57 class Dither
     66__class Dither
    5867{
    5968 public:
     
    8190};
    8291
    83 class Cucul
     92__class Cucul
    8493{
    8594    friend class Caca;
  • libcaca/trunk/cxx/cxxtest.cpp

    r2050 r2070  
    7676    kk->setDisplayTime(20000);
    7777
    78     while(!kk->getEvent(Event::CACA_EVENT_KEY_PRESS, NULL, 0)) {
    79 
     78    while(!kk->getEvent(Event::CACA_EVENT_KEY_PRESS, NULL, 0))
     79    {
    8080
    8181        /* In case of resize ...*/
     
    8484        if((y + pig->getHeight())-1 >= qq->getHeight() || y < 0 )
    8585            y = 0;
    86 
    87 
    88 
    8986
    9087        qq->Clear();
  • libcaca/trunk/msvc/config.h

    r2038 r2070  
    5050#define USE_WIN32 1
    5151/* #undef USE_X11 */
    52 #define VERSION "0.9"
     52#define VERSION "0.99.beta12"
    5353/* #undef const */
    5454#ifndef __cplusplus
  • libcaca/trunk/msvc/libcaca.sln

    r2065 r2070  
    33Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "cacafire", "cacafire.vcproj", "{F25D1237-9ED8-4343-B958-308C95FE392F}"
    44        ProjectSection(ProjectDependencies) = postProject
     5                {44303C1F-BB6A-4C4B-BB19-7D475348F151} = {44303C1F-BB6A-4C4B-BB19-7D475348F151}
    56                {8951ECB0-7CFE-41AB-A426-98D7C441BEA4} = {8951ECB0-7CFE-41AB-A426-98D7C441BEA4}
    6                 {44303C1F-BB6A-4C4B-BB19-7D475348F151} = {44303C1F-BB6A-4C4B-BB19-7D475348F151}
    77        EndProjectSection
    88EndProject
     
    1616Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "cacademo", "cacademo.vcproj", "{EE082122-5ECD-4DB4-93C7-145392074F8B}"
    1717        ProjectSection(ProjectDependencies) = postProject
     18                {8951ECB0-7CFE-41AB-A426-98D7C441BEA4} = {8951ECB0-7CFE-41AB-A426-98D7C441BEA4}
    1819                {44303C1F-BB6A-4C4B-BB19-7D475348F151} = {44303C1F-BB6A-4C4B-BB19-7D475348F151}
    19                 {8951ECB0-7CFE-41AB-A426-98D7C441BEA4} = {8951ECB0-7CFE-41AB-A426-98D7C441BEA4}
    2020        EndProjectSection
    2121EndProject
     
    3131EndProject
    3232Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "test-csharp", "test-csharp.csproj", "{6EB34142-45E0-4BF3-8F75-81F4F604EAAA}"
     33EndProject
     34Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "libcucul++", "libcucul++.vcproj", "{9A5CF69C-8C9D-4186-B68D-ED73633A9B67}"
     35        ProjectSection(ProjectDependencies) = postProject
     36                {44303C1F-BB6A-4C4B-BB19-7D475348F151} = {44303C1F-BB6A-4C4B-BB19-7D475348F151}
     37        EndProjectSection
     38EndProject
     39Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "libcaca++", "libcaca++.vcproj", "{5AAFB727-094F-4104-A765-A94B32497C7D}"
     40        ProjectSection(ProjectDependencies) = postProject
     41                {8951ECB0-7CFE-41AB-A426-98D7C441BEA4} = {8951ECB0-7CFE-41AB-A426-98D7C441BEA4}
     42                {9A5CF69C-8C9D-4186-B68D-ED73633A9B67} = {9A5CF69C-8C9D-4186-B68D-ED73633A9B67}
     43        EndProjectSection
     44EndProject
     45Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "test-cxx", "test-cxx.vcproj", "{F2530E59-7ADB-4D3C-8873-6D110788B8F7}"
     46        ProjectSection(ProjectDependencies) = postProject
     47                {5AAFB727-094F-4104-A765-A94B32497C7D} = {5AAFB727-094F-4104-A765-A94B32497C7D}
     48                {9A5CF69C-8C9D-4186-B68D-ED73633A9B67} = {9A5CF69C-8C9D-4186-B68D-ED73633A9B67}
     49        EndProjectSection
    3350EndProject
    3451Global
     
    112129                {6EB34142-45E0-4BF3-8F75-81F4F604EAAA}.Release|Mixed Platforms.Build.0 = Release|Any CPU
    113130                {6EB34142-45E0-4BF3-8F75-81F4F604EAAA}.Release|Win32.ActiveCfg = Release|Any CPU
     131                {9A5CF69C-8C9D-4186-B68D-ED73633A9B67}.Debug|Any CPU.ActiveCfg = Debug|Win32
     132                {9A5CF69C-8C9D-4186-B68D-ED73633A9B67}.Debug|Mixed Platforms.ActiveCfg = Debug|Win32
     133                {9A5CF69C-8C9D-4186-B68D-ED73633A9B67}.Debug|Mixed Platforms.Build.0 = Debug|Win32
     134                {9A5CF69C-8C9D-4186-B68D-ED73633A9B67}.Debug|Win32.ActiveCfg = Debug|Win32
     135                {9A5CF69C-8C9D-4186-B68D-ED73633A9B67}.Debug|Win32.Build.0 = Debug|Win32
     136                {9A5CF69C-8C9D-4186-B68D-ED73633A9B67}.Release|Any CPU.ActiveCfg = Release|Win32
     137                {9A5CF69C-8C9D-4186-B68D-ED73633A9B67}.Release|Mixed Platforms.ActiveCfg = Release|Win32
     138                {9A5CF69C-8C9D-4186-B68D-ED73633A9B67}.Release|Mixed Platforms.Build.0 = Release|Win32
     139                {9A5CF69C-8C9D-4186-B68D-ED73633A9B67}.Release|Win32.ActiveCfg = Release|Win32
     140                {9A5CF69C-8C9D-4186-B68D-ED73633A9B67}.Release|Win32.Build.0 = Release|Win32
     141                {5AAFB727-094F-4104-A765-A94B32497C7D}.Debug|Any CPU.ActiveCfg = Debug|Win32
     142                {5AAFB727-094F-4104-A765-A94B32497C7D}.Debug|Mixed Platforms.ActiveCfg = Debug|Win32
     143                {5AAFB727-094F-4104-A765-A94B32497C7D}.Debug|Mixed Platforms.Build.0 = Debug|Win32
     144                {5AAFB727-094F-4104-A765-A94B32497C7D}.Debug|Win32.ActiveCfg = Debug|Win32
     145                {5AAFB727-094F-4104-A765-A94B32497C7D}.Debug|Win32.Build.0 = Debug|Win32
     146                {5AAFB727-094F-4104-A765-A94B32497C7D}.Release|Any CPU.ActiveCfg = Release|Win32
     147                {5AAFB727-094F-4104-A765-A94B32497C7D}.Release|Mixed Platforms.ActiveCfg = Release|Win32
     148                {5AAFB727-094F-4104-A765-A94B32497C7D}.Release|Mixed Platforms.Build.0 = Release|Win32
     149                {5AAFB727-094F-4104-A765-A94B32497C7D}.Release|Win32.ActiveCfg = Release|Win32
     150                {5AAFB727-094F-4104-A765-A94B32497C7D}.Release|Win32.Build.0 = Release|Win32
     151                {F2530E59-7ADB-4D3C-8873-6D110788B8F7}.Debug|Any CPU.ActiveCfg = Debug|Win32
     152                {F2530E59-7ADB-4D3C-8873-6D110788B8F7}.Debug|Mixed Platforms.ActiveCfg = Debug|Win32
     153                {F2530E59-7ADB-4D3C-8873-6D110788B8F7}.Debug|Mixed Platforms.Build.0 = Debug|Win32
     154                {F2530E59-7ADB-4D3C-8873-6D110788B8F7}.Debug|Win32.ActiveCfg = Debug|Win32
     155                {F2530E59-7ADB-4D3C-8873-6D110788B8F7}.Debug|Win32.Build.0 = Debug|Win32
     156                {F2530E59-7ADB-4D3C-8873-6D110788B8F7}.Release|Any CPU.ActiveCfg = Release|Win32
     157                {F2530E59-7ADB-4D3C-8873-6D110788B8F7}.Release|Mixed Platforms.ActiveCfg = Release|Win32
     158                {F2530E59-7ADB-4D3C-8873-6D110788B8F7}.Release|Mixed Platforms.Build.0 = Release|Win32
     159                {F2530E59-7ADB-4D3C-8873-6D110788B8F7}.Release|Win32.ActiveCfg = Release|Win32
     160                {F2530E59-7ADB-4D3C-8873-6D110788B8F7}.Release|Win32.Build.0 = Release|Win32
    114161        EndGlobalSection
    115162        GlobalSection(SolutionProperties) = preSolution
Note: See TracChangeset for help on using the changeset viewer.