Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 4836 in orxonox.OLD for orxonox/trunk/src/lib/gui/gui_update.cc


Ignore:
Timestamp:
Jul 12, 2005, 12:33:16 AM (19 years ago)
Author:
bensch
Message:

orxonox/trunk: renamed all the \param → @param and so on in Doxygen tags.
Thanks a lot to the kDevelop team. this took since the last commit :)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • orxonox/trunk/src/lib/gui/gui_update.cc

    r4774 r4836  
    3333
    3434/**
    35    \brief Creates an Update-Frame
     35 * Creates an Update-Frame
    3636*/
    3737GuiUpdate::GuiUpdate()
     
    9898
    9999/**
    100    \brief Destructs the Update-stuff
     100 * Destructs the Update-stuff
    101101*/
    102102GuiUpdate::~GuiUpdate()
     
    106106
    107107/**
    108    \brief checks if the Folder containing selected File is data.oxd, and if so sets it.
    109    \param
     108 * checks if the Folder containing selected File is data.oxd, and if so sets it.
     109 * @param
    110110*/
    111111bool GuiUpdate::checkDataDir(const char* fileName, void* object)
     
    126126
    127127/**
    128     \brief Look what info we can get from this system
     128  * Look what info we can get from this system
    129129*/
    130130bool GuiUpdate::getSystemInfo()
     
    167167
    168168/**
    169    \brief Creates a window, and all it contains for the Data-update.
     169 * Creates a window, and all it contains for the Data-update.
    170170*/
    171171void GuiUpdate::updateDataWindowCreate()
     
    206206
    207207/**
    208    \returns A Pointer to the Button of the UpdaterDataWindow
     208 * @returns A Pointer to the Button of the UpdaterDataWindow
    209209*/
    210210Button* GuiUpdate::updateDataWindowGetButton()
     
    214214
    215215/**
    216    \brief Creates a window, and all it contains for the Source-update.
     216 * Creates a window, and all it contains for the Source-update.
    217217*/
    218218void GuiUpdate::updateSourceWindowCreate()
     
    245245
    246246/**
    247    \returns A Pointer to the Button of the UpdaterSourceWindow
     247 * @returns A Pointer to the Button of the UpdaterSourceWindow
    248248*/
    249249Button* GuiUpdate::updateSourceWindowGetButton()
     
    255255#ifdef HAVE_GTK2
    256256/**
    257    \brief updates the Data of orxonox.
    258    \param w The widget, that executed this Function.
    259    \param event The event that trigered this Function.
    260    \param button The Button, that triggered this event.
     257 * updates the Data of orxonox.
     258 * @param w The widget, that executed this Function.
     259 * @param event The event that trigered this Function.
     260 * @param button The Button, that triggered this event.
    261261*/
    262262gint GuiUpdate::updateDataFunc(GtkWidget* w, GdkEventKey* event, void* info)
     
    272272
    273273/**
    274    \brief updates the source of orxonox.
    275    \param w The widget, that executed this Function.
    276    \param event The event that trigered this Function.
    277    \param button The Button, that triggered this event.
     274 * updates the source of orxonox.
     275 * @param w The widget, that executed this Function.
     276 * @param event The event that trigered this Function.
     277 * @param button The Button, that triggered this event.
    278278*/
    279279gint GuiUpdate::updateSourceFunc(GtkWidget* w, GdkEventKey* event, void* bar)
     
    286286
    287287/**
    288    \brief The Function Curl calls to write out the File.
    289    \param ptr A Pointer to the date to write.
    290    \param size The size in bytes of one nmemb to write.
    291    \param nmemb The Count of size to write.
    292    \param stream Filehandler to write to.
     288 * The Function Curl calls to write out the File.
     289 * @param ptr A Pointer to the date to write.
     290 * @param size The size in bytes of one nmemb to write.
     291 * @param nmemb The Count of size to write.
     292 * @param stream Filehandler to write to.
    293293*/
    294294size_t GuiUpdate::curlWriteFunc(void* ptr, size_t size, size_t nmemb, FILE* stream)
     
    298298
    299299/**
    300    \brief The Function Curl calls to write out the File.
    301    \param ptr A Pointer to the date to write to.
    302    \param size The size in bytes of one nmemb to write.
    303    \param nmemb The Count of size to write.
    304    \param stream Filehandler to get data from.
     300 * The Function Curl calls to write out the File.
     301 * @param ptr A Pointer to the date to write to.
     302 * @param size The size in bytes of one nmemb to write.
     303 * @param nmemb The Count of size to write.
     304 * @param stream Filehandler to get data from.
    305305*/
    306306size_t GuiUpdate::curlReadFunc(void* ptr, size_t size, size_t nmemb, FILE* stream)
     
    311311
    312312/**
    313    \brief An update Function for the GUI, to show the progress.
    314    \param Bar th ProgressBar to update
    315    \param totalSize The total size of the download in bytes.
    316    \param progress The current Progress of the download in bytes.
    317    \param upTotal not needed
    318    \param upProgress not needed
     313 * An update Function for the GUI, to show the progress.
     314 * @param Bar th ProgressBar to update
     315 * @param totalSize The total size of the download in bytes.
     316 * @param progress The current Progress of the download in bytes.
     317 * @param upTotal not needed
     318 * @param upProgress not needed
    319319*/
    320320int GuiUpdate::curlProgressFunc(ProgressBar* bar, double totalSize, double progress, double upTotal, double upProgress)
     
    329329
    330330/**
    331    \brief The Curl handle for only one CURL(static).
     331 * The Curl handle for only one CURL(static).
    332332*/
    333333CURL* GuiUpdate::curlHandle = NULL;
     
    340340
    341341/**
    342    \brief Initializes a Download without displaying it.
    343    \param fileInfo the FileInfo.
     342 * Initializes a Download without displaying it.
     343 * @param fileInfo the FileInfo.
    344344
    345345   !! BE AWARE THIS WILL NOT BE THREADED. !!
     
    359359  char* fileOnNet = new char [strlen(info->webRoot)+strlen(info->fileName)+2];
    360360  strcpy(fileOnNet, info->webRoot);
    361   if(fileOnNet[strlen(fileOnNet)] != '/') //!< \todo windows-shit
     361  if(fileOnNet[strlen(fileOnNet)] != '/') //!< @todo windows-shit
    362362    strcat(fileOnNet, "/");
    363363  strcat(fileOnNet, info->fileName);
    364364  char* fileOnDisk = new char [strlen(info->localRoot)+strlen(info->fileName)+2];
    365365  strcpy(fileOnDisk, info->localRoot);
    366   if(fileOnDisk[strlen(fileOnDisk)] != '/') //!< \todo windows-shit
     366  if(fileOnDisk[strlen(fileOnDisk)] != '/') //!< @todo windows-shit
    367367    strcat(fileOnDisk, "/");
    368368  strcat(fileOnDisk, info->fileName);
     
    387387
    388388/**
    389    \brief Initializes a Download with some style.
    390    \param fileInfo the FileInfo.
    391    \todo release thread-lock.
     389 * Initializes a Download with some style.
     390 * @param fileInfo the FileInfo.
     391   @todo release thread-lock.
    392392
    393393   Downloading with a Button that gets a different Name while downloading, and a Bar, that gets to be updated. More to be followed
     
    447447
    448448/**
    449    \brief The downloading process(either threaded or not).
    450    \param fileInfo the FileInfo.
    451 
    452    \todo Threads get locked, if the cancel button is pressed in to small intervals.
     449 * The downloading process(either threaded or not).
     450 * @param fileInfo the FileInfo.
     451
     452   @todo Threads get locked, if the cancel button is pressed in to small intervals.
    453453*/
    454454void* GuiUpdate::downloadThread(void* fileInfo)
     
    459459
    460460/**
    461    \brief Finishes a downloading process.
    462    \param fileInfo the FileInfo.
     461 * Finishes a downloading process.
     462 * @param fileInfo the FileInfo.
    463463*/
    464464void* GuiUpdate::downloadThreadFinished(void* fileInfo)
     
    485485#ifdef HAVE_GTK2
    486486/**
    487    \brief canceles a downloading session.
    488    \param w The widget, that executed this Function.
    489    \param event The event that trigered this Function.
    490    \param bar The Bar, that triggered this event.
    491 
    492    \todo canceling a session in non-threaded mode.
     487 * canceles a downloading session.
     488 * @param w The widget, that executed this Function.
     489 * @param event The event that trigered this Function.
     490 * @param bar The Bar, that triggered this event.
     491
     492   @todo canceling a session in non-threaded mode.
    493493*/
    494494gint GuiUpdate::cancelDownload(GtkWidget* w, GdkEventKey* event, void* bar)
Note: See TracChangeset for help on using the changeset viewer.