/xbmc/platform/android/jni/List.h
C Header | 36 lines | 13 code | 4 blank | 19 comment | 0 complexity | 148541ae07777f739bfe22d868fb98b4 MD5 | raw file
Possible License(s): GPL-3.0, CC-BY-SA-3.0, LGPL-2.0, 0BSD, Unlicense, GPL-2.0, AGPL-1.0, BSD-3-Clause, LGPL-2.1, LGPL-3.0
- #pragma once
- /*
- * Copyright (C) 2013 Team XBMC
- * http://xbmc.org
- *
- * This Program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2, 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
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with XBMC; see the file COPYING. If not, see
- * <http://www.gnu.org/licenses/>.
- *
- */
- #include "JNIBase.h"
- template <typename T>
- class CJNIList : public CJNIBase
- {
- public:
- CJNIList(const jni::jhobject &object) : CJNIBase(object){};
- ~CJNIList(){};
- T get(int index) const;
- int size() const;
- private:
- CJNIList();
- };