bump product version to 4.1.6.2
[LibreOffice.git] / vcl / inc / aqua / vclnsapp.h
blobeeb8376d7669fadf1b171360dde27a3346408c61
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 /*
3 * This file is part of the LibreOffice project.
5 * This Source Code Form is subject to the terms of the Mozilla Public
6 * License, v. 2.0. If a copy of the MPL was not distributed with this
7 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
9 * This file incorporates work covered by the following license notice:
11 * Licensed to the Apache Software Foundation (ASF) under one or more
12 * contributor license agreements. See the NOTICE file distributed
13 * with this work for additional information regarding copyright
14 * ownership. The ASF licenses this file to you under the Apache
15 * License, Version 2.0 (the "License"); you may not use this file
16 * except in compliance with the License. You may obtain a copy of
17 * the License at http://www.apache.org/licenses/LICENSE-2.0 .
20 #ifndef _VCL_VCLNSAPP_H
21 #define _VCL_VCLNSAPP_H
23 #include "premac.h"
24 #include "Cocoa/Cocoa.h"
25 #include "postmac.h"
27 class AquaSalFrame;
29 @interface CocoaThreadEnabler : NSObject
32 -(void)enableCocoaThreads:(id)param;
33 @end
35 // our very own application
36 @interface VCL_NSApplication : NSApplication
39 -(void)sendEvent:(NSEvent*)pEvent;
40 -(void)sendSuperEvent:(NSEvent*)pEvent;
41 -(NSMenu*)applicationDockMenu:(NSApplication *)sender;
42 -(BOOL)application: (NSApplication*) app openFile: (NSString*)file;
43 -(void)application: (NSApplication*) app openFiles: (NSArray*)files;
44 -(BOOL)application: (NSApplication*) app printFile: (NSString*)file;
45 -(NSApplicationPrintReply)application: (NSApplication *) app printFiles:(NSArray *)files withSettings: (NSDictionary *)printSettings showPrintPanels:(BOOL)bShowPrintPanels;
46 -(NSApplicationTerminateReply)applicationShouldTerminate: (NSApplication *) app;
47 -(void)systemColorsChanged: (NSNotification*) pNotification;
48 -(void)screenParametersChanged: (NSNotification*) pNotification;
49 -(void)scrollbarVariantChanged: (NSNotification*) pNotification;
50 -(void)scrollbarSettingsChanged: (NSNotification*) pNotification;
51 -(void)addFallbackMenuItem: (NSMenuItem*)pNewItem;
52 -(void)removeFallbackMenuItem: (NSMenuItem*)pOldItem;
53 -(void)addDockMenuItem: (NSMenuItem*)pNewItem;
54 -(void)applicationWillBecomeActive: (NSNotification *)pNotification;
55 -(void)applicationWillResignActive: (NSNotification *)pNotification;
56 -(BOOL)applicationShouldHandleReopen: (NSApplication*)pApp hasVisibleWindows: (BOOL)bWinVisible;
57 -(void)setDockIconClickHandler: (NSObject*)pHandler;
58 -(void)cycleFrameForward: (AquaSalFrame*)pCurFrame;
59 -(void)cycleFrameBackward: (AquaSalFrame*)pCurFrame;
60 @end
62 #endif
64 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */