Doxygen and white spaces in samples.

This commit is contained in:
Marcelo Roberto Jimenez 2010-12-22 11:54:45 -02:00
parent e07ba67188
commit 3bf350cceb
6 changed files with 862 additions and 864 deletions

View File

@ -29,6 +29,13 @@
*
******************************************************************************/
/*!
* \addtogroup UpnpSamples
*
* @{
*
* \file
*/
#define SAMPLE_UTIL_C
#include "sample_util.h"
@ -666,3 +673,5 @@ void linux_print(const char *format, ...)
fflush(stdout);
va_end(argList);
}
/*! @} UpnpSamples */

View File

@ -1,3 +1,6 @@
#ifndef SAMPLE_UTIL_H
#define SAMPLE_UTIL_H
/*******************************************************************************
*
* Copyright (c) 2000-2003 Intel Corporation
@ -29,10 +32,11 @@
*
******************************************************************************/
#ifndef SAMPLE_UTIL_H
#define SAMPLE_UTIL_H
/*!
* \defgroup UpnpSamples Sample Code
*
* @{
*
* \file
*/
@ -259,5 +263,7 @@ void linux_print(const char *format, ...)
#define strcasecmp stricmp
#endif
/*! @} UpnpSamples */
#endif /* SAMPLE_UTIL_H */

View File

@ -29,6 +29,18 @@
*
******************************************************************************/
/*!
* \addtogroup UpnpSamples
*
* @{
*
* \name Control Point Sample Module
*
* @{
*
* \file
*/
#include "tv_ctrlpt.h"
#include "upnp.h"
@ -1574,3 +1586,6 @@ int TvCtrlPointProcessCommand(char *cmdline)
return TV_SUCCESS;
}
/*! @} Control Point Sample Module */
/*! @} UpnpSamples */

View File

@ -33,6 +33,14 @@
**************************************************************************/
/*!
* \addtogroup UpnpSamples
*
* @{
*
* \name Contro Point Sample API
*
* @{
*
* \file
*/
@ -42,17 +50,13 @@ extern "C" {
#include "sample_util.h"
#include "ithread.h"
#include "upnp.h"
#include "UpnpString.h"
#include "upnptools.h"
#include "UpnpUniStd.h" /* for close() */
#include <signal.h>
#include <stdarg.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#define TV_SERVICE_SERVCOUNT 2
#define TV_SERVICE_CONTROL 0
@ -213,5 +217,9 @@ int TvCtrlPointProcessCommand(char *cmdline);
};
#endif
#endif /* UPNP_TV_CTRLPT_H */
/*! @} Device Sample */
/*! @} UpnpSamples */
#endif /* UPNP_TV_CTRLPT_H */

File diff suppressed because it is too large Load Diff

View File

@ -33,6 +33,14 @@
**************************************************************************/
/*!
* \addtogroup UpnpSamples
*
* @{
*
* \name Device Sample API
*
* @{
*
* \file
*/
@ -47,7 +55,6 @@ extern "C" {
#include "ithread.h"
#include "upnp.h"
#include "UpnpUniStd.h" /* for close() */
#include <stdlib.h>
#include <string.h>
@ -557,5 +564,8 @@ int device_main(int argc, char *argv[]);
}
#endif
#endif
/*! @} Control Point Sample API */
/*! @} UpnpSamples */
#endif /* UPNP_TV_DEVICE_H */