darling-cocotron/AppKit/NSStatusItem+Private.h
2020-05-12 17:04:15 -04:00

28 lines
703 B
Objective-C

//
// NSStatusItem+Private.h
// AppKit
//
// Created by Rhys Cox on 17/02/2012.
// Copyright (c) 2012 BP Software. All rights reserved.
//
#import <CoreFoundation/CFBase.h>
#import <Foundation/Foundation.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