Dcoument AegisubFileDropTarget.

Originally committed to SVN as r3321.
This commit is contained in:
Amar Takhar 2009-07-30 02:09:21 +00:00
parent 726f7a2b68
commit cc08d39f2e
2 changed files with 10 additions and 13 deletions

View File

@ -45,8 +45,8 @@
/// @brief Constructor
/// @param par
/// @brief Constructor
/// @param par Parent frame
///
AegisubFileDropTarget::AegisubFileDropTarget(FrameMain *par) {
parent = par;
@ -54,10 +54,11 @@ AegisubFileDropTarget::AegisubFileDropTarget(FrameMain *par) {
/// @brief Drop files
/// @param x
/// @param y
/// @param filenames
/// @brief Handle dropped files.
/// @param x X drop co-ordinate.
/// @param y Y drop co-ordinate
/// @param filenames List of files dropped.
/// @return Whether handling dropped files was sucessful
///
bool AegisubFileDropTarget::OnDropFiles(wxCoord x, wxCoord y, const wxArrayString& filenames) {
return parent->LoadList(filenames);

View File

@ -37,7 +37,7 @@
#ifndef DROP_H
/// DOCME
/// Inclusion guard
#define DROP_H
@ -53,15 +53,13 @@ class FrameMain;
/// DOCME
/// @class AegisubFileDropTarget
/// @brief DOCME
/// @brief Handle files DnD'd onto Aegisub
///
/// DOCME
class AegisubFileDropTarget : public wxFileDropTarget {
private:
/// DOCME
/// Parent frame
FrameMain *parent;
public:
@ -72,5 +70,3 @@ public:
};
#endif