OLD | NEW |
| (Empty) |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | |
2 // Use of this source code is governed by a BSD-style license that can be | |
3 // found in the LICENSE file. | |
4 | |
5 #import <ApplicationServices/ApplicationServices.h> | |
6 #import <Foundation/NSAutoreleasePool.h> | |
7 | |
8 #include "cloud_print/virtual_driver/posix/installer_util_mac.h" | |
9 | |
10 const AEEventClass kAECloudPrintInstallClass= 'GCPi'; | |
11 | |
12 // Installer for Virtual Driver on Mac. Sends an Apple Event to | |
13 // Chrome, launching it if necessary. The Apple Event registers | |
14 // the virtual driver with the service process. | |
15 int main() { | |
16 NSAutoreleasePool *pool = [[NSAutoreleasePool alloc] init]; | |
17 cloud_print::sendServiceProcessEvent(kAECloudPrintInstallClass); | |
18 [pool release]; | |
19 return 0; | |
20 } | |
OLD | NEW |