forked from perabrahamsen/daisy-model
-
Notifications
You must be signed in to change notification settings - Fork 0
/
block_submodel.h
37 lines (33 loc) · 1.22 KB
/
block_submodel.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
// block_submodel.h -- FrameSubmodel with context.
//
// Copyright 2005, 2009 Per Abrahamsen and KVL.
//
// This file is part of Daisy.
//
// Daisy is free software; you can redistribute it and/or modify
// it under the terms of the GNU Lesser Public License as published by
// the Free Software Foundation; either version 2.1 of the License, or
// (at your option) any later version.
//
// Daisy is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU Lesser Public License for more details.
//
// You should have received a copy of the GNU Lesser Public License
// along with Daisy; if not, write to the Free Software
// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
#ifndef BLOCK_SUBMODEL_H
#define BLOCK_SUBMODEL_H
#include "block_nested.h"
#include "frame_submodel.h"
class BlockSubmodel : public BlockNested
{
const FrameSubmodel& frame_;
const FrameSubmodel& frame () const;
public:
BlockSubmodel (const Block& parent, const symbol key);
BlockSubmodel (const Block& parent, const symbol key, const size_t index);
~BlockSubmodel ();
};
#endif // BLOCK_SUBMODEL_H