DASHSegment.h 1.65 KB
Newer Older
Christopher Mueller's avatar
Christopher Mueller committed
1
/*
2
 * Segment.h
Christopher Mueller's avatar
Christopher Mueller committed
3 4 5 6 7 8 9
 *****************************************************************************
 * Copyright (C) 2010 - 2011 Klagenfurt University
 *
 * Created on: Aug 10, 2010
 * Authors: Christopher Mueller <christopher.mueller@itec.uni-klu.ac.at>
 *          Christian Timmerer  <christian.timmerer@itec.uni-klu.ac.at>
 *
10 11
 * This program is free software; you can redistribute it and/or modify it
 * under the terms of the GNU Lesser General Public License as published
Christopher Mueller's avatar
Christopher Mueller committed
12 13 14 15 16
 * by the Free Software Foundation; either version 2.1 of the License, or
 * (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
17 18
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
 * GNU Lesser General Public License for more details.
Christopher Mueller's avatar
Christopher Mueller committed
19 20
 *
 * You should have received a copy of the GNU Lesser General Public License
21 22
 * along with this program; if not, write to the Free Software Foundation,
 * Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
Christopher Mueller's avatar
Christopher Mueller committed
23 24
 *****************************************************************************/

25 26
#ifndef DASHSEGMENT_H_
#define DASHSEGMENT_H_
Christopher Mueller's avatar
Christopher Mueller committed
27

28
#include "../adaptative/playlist/Segment.h"
Christopher Mueller's avatar
Christopher Mueller committed
29 30 31 32 33

namespace dash
{
    namespace mpd
    {
34 35 36 37
        using namespace adaptative::playlist;
        using namespace adaptative::http;

        class DashIndexSegment : public IndexSegment
Christopher Mueller's avatar
Christopher Mueller committed
38 39
        {
            public:
40
                DashIndexSegment( ICanonicalUrl *parent );
Christopher Mueller's avatar
Christopher Mueller committed
41

42
            protected:
43
                virtual void onChunkDownload(block_t **, SegmentChunk *, BaseRepresentation *); //reimpl
Christopher Mueller's avatar
Christopher Mueller committed
44
        };
45

Christopher Mueller's avatar
Christopher Mueller committed
46 47 48
    }
}

49
#endif /* DASHSEGMENT_H_ */