Doxygen and white spaces in samples.
This commit is contained in:
parent
4b0c8d52b8
commit
40e6e4503c
@ -29,6 +29,13 @@
|
|||||||
*
|
*
|
||||||
******************************************************************************/
|
******************************************************************************/
|
||||||
|
|
||||||
|
/*!
|
||||||
|
* \addtogroup UpnpSamples
|
||||||
|
*
|
||||||
|
* @{
|
||||||
|
*
|
||||||
|
* \file
|
||||||
|
*/
|
||||||
|
|
||||||
#define SAMPLE_UTIL_C
|
#define SAMPLE_UTIL_C
|
||||||
#include "sample_util.h"
|
#include "sample_util.h"
|
||||||
@ -618,3 +625,5 @@ void linux_print(const char *format, ...)
|
|||||||
fflush(stdout);
|
fflush(stdout);
|
||||||
va_end(argList);
|
va_end(argList);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/*! @} UpnpSamples */
|
||||||
|
@ -1,3 +1,6 @@
|
|||||||
|
#ifndef SAMPLE_UTIL_H
|
||||||
|
#define SAMPLE_UTIL_H
|
||||||
|
|
||||||
/*******************************************************************************
|
/*******************************************************************************
|
||||||
*
|
*
|
||||||
* Copyright (c) 2000-2003 Intel Corporation
|
* Copyright (c) 2000-2003 Intel Corporation
|
||||||
@ -29,10 +32,11 @@
|
|||||||
*
|
*
|
||||||
******************************************************************************/
|
******************************************************************************/
|
||||||
|
|
||||||
#ifndef SAMPLE_UTIL_H
|
|
||||||
#define SAMPLE_UTIL_H
|
|
||||||
|
|
||||||
/*!
|
/*!
|
||||||
|
* \defgroup UpnpSamples Sample Code
|
||||||
|
*
|
||||||
|
* @{
|
||||||
|
*
|
||||||
* \file
|
* \file
|
||||||
*/
|
*/
|
||||||
|
|
||||||
@ -259,5 +263,7 @@ void linux_print(const char *format, ...)
|
|||||||
#define strcasecmp stricmp
|
#define strcasecmp stricmp
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
/*! @} UpnpSamples */
|
||||||
|
|
||||||
#endif /* SAMPLE_UTIL_H */
|
#endif /* SAMPLE_UTIL_H */
|
||||||
|
|
||||||
|
@ -29,6 +29,18 @@
|
|||||||
*
|
*
|
||||||
******************************************************************************/
|
******************************************************************************/
|
||||||
|
|
||||||
|
/*!
|
||||||
|
* \addtogroup UpnpSamples
|
||||||
|
*
|
||||||
|
* @{
|
||||||
|
*
|
||||||
|
* \name Control Point Sample Module
|
||||||
|
*
|
||||||
|
* @{
|
||||||
|
*
|
||||||
|
* \file
|
||||||
|
*/
|
||||||
|
|
||||||
#include "tv_ctrlpt.h"
|
#include "tv_ctrlpt.h"
|
||||||
|
|
||||||
#include "upnp.h"
|
#include "upnp.h"
|
||||||
@ -1568,3 +1580,6 @@ int TvCtrlPointProcessCommand(char *cmdline)
|
|||||||
return TV_SUCCESS;
|
return TV_SUCCESS;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/*! @} Control Point Sample Module */
|
||||||
|
|
||||||
|
/*! @} UpnpSamples */
|
||||||
|
@ -33,6 +33,14 @@
|
|||||||
**************************************************************************/
|
**************************************************************************/
|
||||||
|
|
||||||
/*!
|
/*!
|
||||||
|
* \addtogroup UpnpSamples
|
||||||
|
*
|
||||||
|
* @{
|
||||||
|
*
|
||||||
|
* \name Contro Point Sample API
|
||||||
|
*
|
||||||
|
* @{
|
||||||
|
*
|
||||||
* \file
|
* \file
|
||||||
*/
|
*/
|
||||||
|
|
||||||
@ -42,17 +50,13 @@ extern "C" {
|
|||||||
|
|
||||||
#include "sample_util.h"
|
#include "sample_util.h"
|
||||||
|
|
||||||
#include "ithread.h"
|
|
||||||
#include "upnp.h"
|
#include "upnp.h"
|
||||||
#include "UpnpString.h"
|
#include "UpnpString.h"
|
||||||
#include "upnptools.h"
|
#include "upnptools.h"
|
||||||
#include "UpnpUniStd.h" /* for close() */
|
|
||||||
|
|
||||||
#include <signal.h>
|
#include <signal.h>
|
||||||
#include <stdarg.h>
|
#include <stdarg.h>
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <stdlib.h>
|
|
||||||
#include <string.h>
|
|
||||||
|
|
||||||
#define TV_SERVICE_SERVCOUNT 2
|
#define TV_SERVICE_SERVCOUNT 2
|
||||||
#define TV_SERVICE_CONTROL 0
|
#define TV_SERVICE_CONTROL 0
|
||||||
@ -213,5 +217,9 @@ int TvCtrlPointProcessCommand(char *cmdline);
|
|||||||
};
|
};
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#endif /* UPNP_TV_CTRLPT_H */
|
|
||||||
|
|
||||||
|
/*! @} Device Sample */
|
||||||
|
|
||||||
|
/*! @} UpnpSamples */
|
||||||
|
|
||||||
|
#endif /* UPNP_TV_CTRLPT_H */
|
||||||
|
File diff suppressed because it is too large
Load Diff
@ -33,6 +33,14 @@
|
|||||||
**************************************************************************/
|
**************************************************************************/
|
||||||
|
|
||||||
/*!
|
/*!
|
||||||
|
* \addtogroup UpnpSamples
|
||||||
|
*
|
||||||
|
* @{
|
||||||
|
*
|
||||||
|
* \name Device Sample API
|
||||||
|
*
|
||||||
|
* @{
|
||||||
|
*
|
||||||
* \file
|
* \file
|
||||||
*/
|
*/
|
||||||
|
|
||||||
@ -47,7 +55,6 @@ extern "C" {
|
|||||||
|
|
||||||
#include "ithread.h"
|
#include "ithread.h"
|
||||||
#include "upnp.h"
|
#include "upnp.h"
|
||||||
#include "UpnpUniStd.h" /* for close() */
|
|
||||||
|
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
@ -557,5 +564,8 @@ int device_main(int argc, char *argv[]);
|
|||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#endif
|
/*! @} Control Point Sample API */
|
||||||
|
|
||||||
|
/*! @} UpnpSamples */
|
||||||
|
|
||||||
|
#endif /* UPNP_TV_DEVICE_H */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user