ヌンチャクでコントロールするチョロQ機能に限定した物です。

Fork of StarBoardOrangeExample3 by Shinichiro Nakamura

appconf.h

Committer:
jksoft
Date:
2012-08-18
Revision:
2:1d9c1cd90695
Parent:
1:03c8bc666945

File content as of revision 2:1d9c1cd90695:

#ifndef _APPCONF_H_
#define _APPCONF_H_

#include "ChoroQ.h"

typedef struct {
    ChoroQ::Channel channel;
} appconf_t;

/**
 * Initialize a configuration.
 *
 * @param p A pointer to a configuration structure.
 */
void appconf_init(appconf_t *p);

/**
 * Read a configuration.
 *
 * @param p A pointer to a configuration structure.
 *
 * @return Return 0 if read succeed.
 */
int appconf_read(appconf_t *p);

#endif