mirror of
https://github.com/darlinghq/darling-cocotron.git
synced 2024-11-23 20:19:40 +00:00
26 lines
658 B
Objective-C
26 lines
658 B
Objective-C
//
|
|
// NSStatusItem+Private.h
|
|
// AppKit
|
|
//
|
|
// Created by Rhys Cox on 17/02/2012.
|
|
// Copyright (c) 2012 BP Software. All rights reserved.
|
|
//
|
|
#import <Foundation/Foundation.h>
|
|
#import <CoreFoundation/CFBase.h>
|
|
#ifdef WIN32
|
|
#import <windows.h>
|
|
#endif
|
|
@class NSImage, NSStatusItem, NSMenuItem;
|
|
@interface NSStatusItem (Private)
|
|
#ifdef WIN32
|
|
- (void)_createTrayIcon;
|
|
- (void)_setHICONFromImage:(NSImage *)image;
|
|
- (void)_removeTrayIcon;
|
|
- (int)trayIconID;
|
|
- (void)_processWin32Event:(int)event;
|
|
- (void)_w32loadMenuItem:(NSMenuItem *)item withIdentifier:(int)i intoMenu:(HMENU)menu;
|
|
HWND _eventhWnd;
|
|
NOTIFYICONDATA niData;
|
|
#endif
|
|
- (void)_showContextMenu;
|
|
@end |