~hilaire-fernandes/drgeo/trunk

« back to all changes in this revision

Viewing changes to VMs/iPad/source/iOS/vm/OSX/macintoshosxextra.c

  • Committer: Hilaire Fernandes
  • Date: 2012-01-27 21:15:40 UTC
  • Revision ID: hilaire.fernandes@gmail.com-20120127211540-912spf97bhpx6mve
Initial additions

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*
 
2
 *  macintoshosxextra.c
 
3
 *  SqueakPureObjc
 
4
 *
 
5
 *  Created by John M McIntosh on 09-11-14.
 
6
 *  Copyright 2009 Corporate Smalltalk Consulting Ltd. All rights reserved.
 
7
 *
 
8
 */
 
9
 
 
10
#include "macintoshosxextra.h"
 
11
 
 
12
#include <sys/syslimits.h>
 
13
 
 
14
 
 
15
sqInt ioFormPrint(sqInt bitsAddr, sqInt width, sqInt height, sqInt depth, double hScale, double vScale, sqInt landscapeFlag) {
 
16
        /* experimental: print a form with the given bitmap, width, height, and depth at
 
17
         the given horizontal and vertical scales in the given orientation
 
18
         However John Mcintosh has introduced a printjob class and plugin to replace this primitive */
 
19
#pragma unused( bitsAddr,  width,  height,  depth,  hScale,  vScale,  landscapeFlag)
 
20
        return true;
 
21
}
 
22
 
 
23
sqInt ioGetButtonState() {return 0;}
 
24
sqInt ioGetKeystroke() {return -1;}
 
25
sqInt ioMousePoint() {return 0;}
 
26
sqInt ioPeekKeystroke() {return 0;}
 
27
 
 
28
 
 
29
sqInt ioSetDisplayMode( sqInt width, sqInt height, sqInt depth, sqInt fullscreenFlag) {return 0;}
 
30
 
 
31
 
 
32
//int plugInTimeToReturn(void) {
 
33
//    return false;
 
34
//}
 
35
 
 
36
sqInt clearProfile(void){return 0;}                                                                                                             
 
37
sqInt dumpProfile(void){return 0;}                                                                                                              
 
38
sqInt startProfiling(void){return 0;}                                                                                                   
 
39
sqInt stopProfiling(void)       {return 0;}                     
 
40
 
 
41
int plugInNotifyUser(char *msg);
 
42
int plugInNotifyUser(char *msg) { return 0; }
 
43