Skip to content

Commit

Permalink
fix imports
Browse files Browse the repository at this point in the history
  • Loading branch information
bung87 committed Sep 19, 2024
1 parent d6880c6 commit 7aa9bf2
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/crowngui/platforms/macos/app_delegate.nim
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import std/[math]
import objc_runtime
import darwin / [app_kit, foundation, objc/runtime]
import crowngui/types
import ../../types
import ./bundle

proc applicationOpenFile(self: ID; cmd: SEL; sender: NSApplication; openFile: NSString): Bool {.cdecl.} =
Expand Down
2 changes: 1 addition & 1 deletion src/crowngui/platforms/macos/internal_dialogs.nim
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import objc_runtime
import darwin / [app_kit, foundation, objc/runtime, objc/blocks]
import crowngui/types
import ../../types
import ./dialog_types

const WEBVIEW_DIALOG_FLAG_FILE = (0 shl 0)
Expand Down
2 changes: 1 addition & 1 deletion src/crowngui/platforms/macos/message_handler.nim
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import objc_runtime
import darwin / [app_kit, foundation, objc/runtime]
import crowngui/types
import ../../types

proc webview_external_invoke(self: ID; cmd: SEL; contentController: Id;
message: Id) =
Expand Down
2 changes: 1 addition & 1 deletion src/crowngui/platforms/macos/window_delegate.nim
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import objc_runtime
import darwin / [app_kit, objc/runtime]
import crowngui/types
import ../../types

proc webview_window_will_close(self: Id; cmd: SEL; notification: Id) =
var w = getAssociatedObject(self, cast[pointer]($$"webview"))
Expand Down

0 comments on commit 7aa9bf2

Please sign in to comment.