VirtualBox

Changeset 7177

Show
Ignore:
Timestamp:
02/27/08 16:06:30 (9 months ago)
Author:
vboxsync
Message:

Mac OS X: Added a skeleton of the iChat Theater implementation.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/src/VBox/Frontends/VirtualBox/Makefile.kmk

    r6676 r7177  
    130130# For the launch trick we need different inode numbers. 
    131131VirtualBox_INST = $(INST_BIN)VirtualBox $(INST_BIN)VirtualBoxVM 
     132 
     133 # For testing iChat Theater stuff change 
     134 # the sdk path 
     135 ifdef VBOX_WITH_ICHAT_THEATER  
     136  VBOX_PATH_MACOSX_SDK = /Developer/SDKs/MacOSX10.5.sdk 
     137 endif 
     138 
    132139endif 
    133140 
     
    254261        src/VBoxFBQuartz2D.cpp 
    255262 
     263ifdef VBOX_WITH_ICHAT_THEATER 
     264 VirtualBox_SOURCES.darwin += \ 
     265         src/darwin/VBoxIChatTheaterWrapper.m 
     266endif 
     267 
    256268ifneq ($(BUILD_TARGET),win) 
    257269src/HappyHttp.cpp_CXXFLAGS += -fexceptions 
     
    282294 VirtualBox_DEFS.darwin  += VBOX_WITH_HACKED_QT 
    283295#endif 
     296ifdef VBOX_WITH_ICHAT_THEATER 
     297 VirtualBox_DEFS.darwin += VBOX_WITH_ICHAT_THEATER 
     298endif 
    284299ifneq ($(BUILD_TYPE),release) 
    285300 # non-release builds has some extra features. 
     
    326341VirtualBox_LDFLAGS.os2    = -Zlinker /PM:PM -Zno-fork 
    327342VirtualBox_LDFLAGS.darwin = -framework IOKit 
     343ifdef VBOX_WITH_ICHAT_THEATER 
     344 VirtualBox_LDFLAGS.darwin += -framework Foundation -framework AppKit -framework InstantMessage -framework QuartzCore 
     345endif 
    328346VirtualBox_LIBS.win       = \ 
    329347        $(PATH_SDK_WINPSDK_LIB)/Htmlhelp.Lib \ 
  • trunk/src/VBox/Frontends/VirtualBox/src/VBoxConsoleWnd.cpp

    r6825 r7177  
    4747#include <X11/Xlib.h> 
    4848#include <XKeyboard.h> 
     49#endif 
     50 
     51#ifdef Q_WS_MAC 
     52#include "VBoxIChatTheaterWrapper.h" 
    4953#endif 
    5054 
     
    580584 
    581585#ifdef Q_WS_MAC 
     586# ifdef VBOX_WITH_ICHAT_THEATER 
     587    initSharedAVManager(); 
     588# endif 
    582589    /* prepare the dock images */ 
    583590    dockImgStatePaused    = ::DarwinCreateDockBadge ("state_paused_16px.png"); 
  • trunk/src/VBox/Frontends/VirtualBox/src/VBoxFBQuartz2D.cpp

    r6797 r7177  
    2525/* Needed for checking against seamless mode */ 
    2626#include "VBoxConsoleWnd.h" 
     27#include "VBoxIChatTheaterWrapper.h" 
    2728 
    2829/* Qt includes */ 
     
    325326    } 
    326327    CGColorSpaceRelease (cs); 
     328#ifdef VBOX_WITH_ICHAT_THEATER 
     329    setImageRef (mImage); 
     330#endif 
    327331 
    328332//    if (remind) 

© 2008 Sun Microsystems, Inc.
ContactPrivacy policy