OSDN Git Service

da813342b95cbc6eab691509927c09cf8caf41bd
[hos/hos-v4a.git] / aplfw / volume / dev / devvol_create.c
1
2 #include <stdio.h>
3 #include "devvol_local.h"
4
5
6 const T_VOLUMEOBJ_METHODS DevVol_VolumeObjMethods =
7 {
8         DevVol_OpenFile,
9         NULL,
10         NULL,
11 };
12
13
14 void DevVol_Create(C_DEVVOL *self)
15 {
16         int i;
17         
18         /* 親クラスコンストラクタ呼び出し */
19         VolumeObj_Create(&self->VolumeObj, &DevVol_VolumeObjMethods);   
20         
21         /* 初期化 */
22         for ( i = 0; i < DEVVOL_MAX_DEVICE; i++ )
23         {
24                 self->DevTable[i].pDrvObj = NULL;
25         }
26 }
27
28