libultraship
Reimplementations of libultra (N64 SDK) functions for modern hardware
Loading...
Searching...
No Matches
FileDrop.h File Reference
#include <vector>
#include <memory>
#include "ship/core/Component.h"
#include "ship/window/Window.h"
Include dependency graph for FileDrop.h:

Go to the source code of this file.

Classes

class  Ship::FileDrop
 Handles drag-and-drop file events for the application window. More...
 

Namespaces

namespace  Ship
 Core namespace for the libultraship engine framework.
 

Typedefs

typedef bool(* FileDroppedFunc) (char *)
 Callback type for file-drop event handlers.
 

Typedef Documentation

◆ FileDroppedFunc

typedef bool(* FileDroppedFunc) (char *)

Callback type for file-drop event handlers.

A handler receives the path of the dropped file and returns true if it consumed the event, or false to let other handlers process it.