text stringlengths 4 6.14k |
|---|
// Copyright (C) 2010 Andrey Gruber (aka lamer)
// 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 of the License, or
// (at your option) any later version.
// This pro... |
#pragma once
#ifdef _WIN32
#include <QWinTaskbarProgress>
#include <QWinTaskbarButton>
#include <QWinTHumbnailToolbar>
#include <QWinTHumbnailToolbutton>
#endif
#include <QMainWindow>
#include <QPushButton>
#include <QIcon>
#include "log_frame.h"
#include "debugger_frame.h"
#include "game_list_frame.h"
#include "gui... |
/*
wdb - weather and water data storage
Copyright (C) 2007 met.no
Contact information:
Norwegian Meteorological Institute
Box 43 Blindern
0313 OSLO
NORWAY
E-mail: wdb@met.no
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU Gene... |
#ifndef GLOBAL_PARENT_HPP
#define GLOBAL_PARENT_HPP
#include <QMainWindow>
extern QMainWindow *g_parent;
#endif
|
#ifndef BOARD_H
#define BOARD_H
/* Messages boards
*
* Copyright (C) 2004-2005 Lee Begg and the Thousand Parsec Project
*
* 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 vers... |
/****************************************************************
* *
* Copyright 2001 Sanchez Computer Associates, Inc. *
* *
* This source code contains the intellectual property *
* of its copyright holder(s), and is made available *
* under a license. If you do not know the terms of *
* the li... |
/*
* Copyright (C) 2002-2012 by Dave J. Andruczyk <djandruczyk at yahoo dot com>
*
* Linux Megasquirt tuning software
*
*
* This software comes under the GPL (GNU Public License)
* You may freely copy,distribute etc. this as long as the source code
* is made available for FREE.
*
* No warranty is made or i... |
#ifndef XCHAT_URL_H
#define XCHAT_URL_H
extern void *url_tree;
#define WORD_URL 1
#define WORD_NICK 2
#define WORD_CHANNEL 3
#define WORD_HOST 4
#define WORD_EMAIL 5
#define WORD_DIALOG -1
void url_clear (void);
void url_save (const char *fname, const char *mode, gboolean fullpath);
void url_autosave (v... |
//
// ScreensViewController.h
// LocationWidget
//
// Created by Nivedita on 3/11/15.
// Copyright (c) 2015 Nivedita. All rights reserved.
//
#import <UIKit/UIKit.h>
@interface ScreensViewController : UIViewController
{
UIView *vwScreen;
}
@end
|
void
test (void){
} ;
|
/*
* Copyright (C) 2008-2015 TrinityCore <http://www.trinitycore.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 of the License, or (at your
* option) any later ve... |
#include <stdio.h>
#include <stdint.h>
#include <string.h>
#include <stdlib.h>
#include <wchar.h>
#include "../86box.h"
#include "../io.h"
#include "../device.h"
#include "sound.h"
#include "snd_resid.h"
#include "snd_ssi2001.h"
typedef struct ssi2001_t
{
void *psid;
int16_t buffer[SOUNDBUFLEN * 2]... |
/*
* $Id: btopn.c,v 1.12 2010-06-02 10:29:10 mark Exp $
*
* btopn: opens existing B tree index
*
* Parameters:
* fid name of file to open
* mode if ZERO, index file can be updated
* shared set TRUE if index file is to be shared
*
* Returns zero if no errors, error code otherwise
*
* Copyright ... |
/**
******************************************************************************
* @file Audio_playback_and_record/Inc/waveplayer.h
* @author MCD Application Team
* @version V1.1.0
* @date 26-June-2014
* @brief Header for waveplayer.c module.
*********************************************... |
// Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef UI_NATIVE_THEME_NATIVE_THEME_ANDROID_H_
#define UI_NATIVE_THEME_NATIVE_THEME_ANDROID_H_
#include "ui/native_theme/native_theme_base.h"
names... |
//----------------------------------------------------------------------------------------
//
// This file and all other Easy Bridge source files are copyright (C) 2002 by Steven Han.
// Use of this file is governed by the GNU General Public License.
// See the files COPYING and COPYRIGHT for details.
//
//------------... |
#ifndef __E_ERROR__
#define __E_ERROR__
#include <string>
#include <map>
#include <new>
#include <libsig_comp.h>
// to use memleak check change the following in configure.ac
// * add -DMEMLEAK_CHECK and -rdynamic to CPP_FLAGS
#ifdef MEMLEAK_CHECK
#define BACKTRACE_DEPTH 5
#include <map>
#include <lib/base/elock.h>
#... |
/* Emacs style mode select -*- C++ -*-
*-----------------------------------------------------------------------------
*
*
* PrBoom a Doom port merged with LxDoom and LSDLDoom
* based on BOOM, a modified and improved DOOM engine
* Copyright (C) 1999 by
* id Software, Chi Hoang, Lee Killough, Jim Flynn, Rand... |
#ifndef _PRINT_H
#define _PRINT_H
#include "types.h"
void putch(char c);
void printhex(u32 u);
void putstr(const char *s);
#endif /* _PRINT_H */
|
/*
* TP-LINK TL-MR3020 board support
*
* Copyright (C) 2011 dongyuqi <729650915@qq.com>
* Copyright (C) 2011-2012 Gabor Juhos <juhosg@openwrt.org>
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 as published
* by the... |
/*
Copyright (C) 2015 Datto Inc.
This file is part of dattobd.
This program is free software; you can redistribute it and/or modify it
under the terms of the GNU General Public License version 2 as published
by the Free Software Foundation.
*/
#include "../../includes.h"
static inline void dummy... |
/*
bot/botenemy.qc
Copyright (C) 1997-1999 Robert 'Frog' Field
*/
// Converted from .qc on 05/02/2016
#ifdef BOT_SUPPORT
#include "g_local.h"
#include "fb_globals.h"
// Removes the look object for the given player
void ClearLookObject(gedict_t* player) {
player->fb.look_object = NULL;
}
// Sets the look object f... |
/*
* This file is part of xrayutilities.
*
* xrayutilities 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 of the License, or
* (at your option) any later version.
*
* This program is ... |
#include <linux/module.h>
#include <linux/kernel.h>
#include <linux/device.h>
#include <linux/list.h>
#include <linux/errno.h>
#include <linux/delay.h>
#include <linux/clk.h>
#include <linux/io.h>
#include <mach/common.h>
#include <mach/clock.h>
#include <mach/sram.h>
#include "prm.h"
#include "clock.h"
#include <m... |
/* ----------------------------------------------------------------------
LIGGGHTS - LAMMPS Improved for General Granular and Granular Heat
Transfer Simulations
www.liggghts.com | www.cfdem.com
Christoph Kloss, christoph.kloss@cfdem.com
LIGGGHTS is based on LAMMPS
LAMMPS - Large-scale Atomic/Molecular Massively Paral... |
#ifndef __TCS_UTIL__
#define __TCS_UTIL__
// sensors
#include <OneWire.h>
#include <DallasTemperature.h>
// watchdog timer for reset
#include <avr/io.h>
#include <avr/wdt.h>
// my moduels
#include "Config.h"
// sensors
#include "OneWire.h"
#include "DallasTemperature.h"
typedef struct sensData
{
OneWire* oneWire_... |
/*
* (C) 2007-2010 Alibaba Group Holding Limited.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
* published by the Free Software Foundation.
*
*
* Version: $Id: meta_server_service.h 49 2011-08-08 09:58:57Z nayan@taob... |
/*
*
* Copyright (C) 2009 Gulessoft , Inc.
* Written by Guo Hongruan (guo.hongruan@gulessoft.com)
*
* 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 of the License, ... |
/*
* CDDL HEADER START
*
* The contents of this file are subject to the terms of the
* Common Development and Distribution License (the "License").
* You may not use this file except in compliance with the License.
*
* You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
* or http://www.opensolar... |
/*************************************************************************
* MWA - A Multi word alignerc
* Copyright (C) 2012-2014 S.Mohammad M. Ziabary <mehran.m@aut.ac.ir>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published... |
/*
* Private includes and definitions for userspace use of XZ Embedded
*
* Author: Lasse Collin <lasse.collin@tukaani.org>
*
* This file has been put into the public domain.
* You can do whatever you want with this file.
*/
#ifndef XZ_CONFIG_H
#define XZ_CONFIG_H
/* Uncomment as needed to enable BCJ filter dec... |
/*
* softing common interfaces
*
* by Kurt Van Dijck, 06-2008
*/
#include <linux/interrupt.h>
#include <linux/netdevice.h>
#include <linux/ktime.h>
#include <socketcan/can.h>
#include <socketcan/can/dev.h>
struct softing;
struct sofing_desc;
/* softing firmware directory prefix */
#define fw_dir "softing-4.6/"
... |
#include "lcd.h"
#include "glib.h"
#include "buttons.h"
#include "s_clock_set.h"
#include "s_setup.h"
#include "xprintf.h"
#include "stm32f4xx_rtc.h"
gl_lay_elem root_e, clock, hours, minutes;
gl_scr_settings * l_settings;
RTC_TimeTypeDef m_time;
int digit = 0;
void create(gl_scr_settings * settings);
void destroy(vo... |
/*
* e750-wm9705.c -- SoC audio for e750
*
* Copyright 2007 (c) Ian Molton <spyro@f2s.com>
*
* 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; version 2 ONLY.
*
*/
#include <lin... |
#include "msm_fb.h"
static int __init lcdc_wxga_init(void)
{
int ret;
struct msm_panel_info pinfo;
#ifdef CONFIG_FB_MSM_MDDI_AUTO_DETECT
if (msm_fb_detect_client("lcdc_wxga"))
return 0;
#endif
pinfo.xres = 1280;
pinfo.yres = 720;
pinfo.type = LCDC_PANEL;
pinfo.pdest = DISPLAY_1;
pinfo.wait_cycle = 0;
pi... |
#ifndef LOGGER_H
#define LOGGER_H
#include <set>
#define LOGGER_BUFSIZE 1024*256
class Logger{
public:
Logger(const char* filename, bool add = false);
~Logger();
void Flush();
void Write(const char* str, int len);
void WriteString(const char* str);
void Register();
static void FlushAll();
... |
/*
* This is a module which is used for rejecting packets.
*/
/* (C) 1999-2001 Paul `Rusty' Russell
* (C) 2002-2004 Netfilter Core Team <coreteam@netfilter.org>
* Copyright (C) 2015 Foxconn International Holdings, Ltd. All rights reserved.
*
* This program is free software; you can redistribute it and/or modify
... |
/*
* Copyright (C) 1998-2000 by Marco G"otze.
*
* This code is part of the wmpinboard source package, which is
* distributed under the terms of the GNU GPL2.
*/
#ifndef XMISC_H_INCLUDED
#define XMISC_H_INCLUDED
#include <X11/Xlib.h>
#include "wmpinboard.h"
void replace_color(XImage*, int, int, int, int, uns... |
/*
* Derived from:
* Memory allocator for ELKS. We keep a hole list so we can keep the
* malloc arena data in the kernel not scattered into hard to read
* user memory.
*
* Provide memory management for linear address spaces, either systems
* with base/limit type functionality (eg Z180) or just plain large addre... |
#ifndef RAMFS_H
#define RAMFS_H
#include "../block/block.h"
#include "fs.h"
#define FS_RAMFS 0
typedef struct ramfs_file {
int id;
int offset;
int length;
int index;
} ramfs_file;
typedef struct ramfs_file_node {
struct ramfs_file_node* next;
struct ramfs_file* file;
} ramfs_file_node;
vo... |
/*
* Driver for Pixcir I2C touchscreen controllers.
*
* Copyright (C) 2010-2011 Pixcir, Inc.
*
* This software is licensed under the terms of the GNU General Public
* License version 2, as published by the Free Software Foundation, and
* may be copied, distributed, and modified under those terms.
*
* This prog... |
#ifndef NEWBUTTONDIALOG_H
#define NEWBUTTONDIALOG_H
#include <QDialog>
#include <QListWidgetItem>
#include "theme.h"
namespace Ui {
class newButtonDialog;
}
class NewButtonDialog : public QDialog
{
Q_OBJECT
public:
explicit NewButtonDialog(const Theme& theme, QWidget *parent = 0);
~NewButtonDialog();
... |
/*
* include/asm-arm/arch-davinci/i2c-client.h
*
* Copyright (C) 2006 Texas Instruments Inc
* Copyright (C) 2008 MontaVista Software, Inc. <source@mvista.com>
*
* 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 Fr... |
#include "tmp102d.h"
// read data with from i2c address, length is the number of bytes to read
// return the data as int, in case of failure return: -1=open failed,
// -2=lock failed, -3=bus access failed, -4=i2c slave reading failed
// global 'cont' is set to zero in case of more serious failure
int I2cReadBytes(int... |
/*
* Copyright (c) 2017, 2020, Oracle and/or its affiliates.
*
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without modification, are
* permitted provided that the following conditions are met:
*
* 1. Redistributions of source code must retain the above copyright notice,... |
/*
Copyright (c) 2000-2012, by Zhuo Meng (zxm8@case.edu).
All rights reserved.
Distributed under the terms of the GNU General Public License as
published by the Free Software Foundation; either version 2 of the
License, or (at your option) any later version.
This program is distributed in the hope t... |
//
// $Id: sphinxexpr.h 2651 2011-01-27 20:59:49Z shodan $
//
//
// Copyright (c) 2001-2011, Andrew Aksyonoff
// Copyright (c) 2008-2011, Sphinx Technologies Inc
// All rights reserved
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License. Yo... |
/* This file is part of Rockon.
*
* Rockon 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 of the License, or
* (at your option) any later version.
*
* Rockon is distributed in the ho... |
/************************************************************************************************************
Copyright (C) Morozov Vladimir Aleksandrovich
MorozovVladimir@mail.ru
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 t... |
#ifndef PC1600_H
#define PC1600_H
//#include <stdlib.h>
//#include <stdio.h>
#include <QMenu>
#include "cextension.h"
//#include "pcxxxx.h"
//#include "Log.h"
#include "lh5803.h"
#include "lh5810.h"
#include "Connect.h"
#include "Keyb.h"
#include "ce152.h"
#include "hd61102.h"
#include "lu57813p.h"
#include "... |
/*
* (C) Copyright 2002-2006
* Wolfgang Denk, DENX Software Engineering, wd@denx.de.
*
* (C) Copyright 2002
* Sysgo Real-Time Solutions, GmbH <www.elinos.com>
* Marius Groeger <mgroeger@sysgo.de>
*
* See file CREDITS for list of people who contributed to this
* project.
*
* This program is free software; you... |
#if !defined (ALGO_H)
#define ALGO_H
//------------------------------------
// (c) Reliable Software 1998
//------------------------------------
template<class In, class Out, class Pred>
Out copy_if (In first, In last, Out res, Pred p)
{
while (first != last)
{
if (p (*first))
{
*re... |
/*
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
distributed with this work for additional information
regarding copyright ownership. The ASF licenses this file
to you under the Apache License, Version 2.0 (the
"License"); you may not use ... |
/*
==============================================================================
This file is part of the JUCE library - "Jules' Utility Class Extensions"
Copyright 2004-11 by Raw Material Software Ltd.
------------------------------------------------------------------------------
JUCE can be r... |
/******************************************************************************
Project : UNDONE Engine
File : Scene.h
Author : Anurup Dey
Copyright (C) 2015 Anurup Dey
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... |
/* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
/*
* e-cell-spin-button.h: Spin button item for e-table.
* Copyright 2001, CodeFactory AB
* Copyright 2001, Mikael Hallendal <micke@codefactory.se>
*
* Authors:
* Mikael Hallendal <micke@codefactory.se>
*
* Celltype for drawing a spin... |
/*******************************************************************************
*
* "cs4281_wrapper.h" -- Cirrus Logic-Crystal CS4281 linux audio driver.
*
* Copyright (C) 2000,2001 Cirrus Logic Corp.
* -- tom woller (twoller@crystal.cirrus.com) or
* (audio@crystal.cirrus.com).
*... |
/*
gui-nicklist.c : irssi
Copyright (C) 2002 Timo Sirainen
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 of the License, or
(at your option) any later version... |
#ifndef LINUX_MM_INLINE_H
#define LINUX_MM_INLINE_H
#include <linux/huge_mm.h>
/**
* page_is_file_cache - should the page be on a file LRU or anon LRU?
* @page: the page to test
*
* Returns 1 if @page is page cache page backed by a regular filesystem,
* or 0 if @page is anonymous, tmpfs or otherwise ram or swap ... |
#ifndef _HAL_AD_H_3467_
#define _HAL_AD_H_3467_
/******************************************************************************
* @author MaKun on 200612
* @note
* for AD transformation
*
* @history
* @modified by zhangwei on 20070101
* revise source code from MaKun
*
**************************************... |
#include "mpi.h"
#include <stdio.h>
int np, rank;
int main(int argc, char **argv) {
float f;
MPI_Status status;
MPI_Init(&argc, &argv);
MPI_Comm_size(MPI_COMM_WORLD, &np);
MPI_Comm_rank(MPI_COMM_WORLD, &rank);
if(rank==0) {
f = (float) rank + 0.2;
}
MPI_Bcast(&f, 1, MPI_FLOAT, 0, MPI_... |
/******************************************************************************
Copyright (C) 2013 by Hugh Bailey <obs.jim@gmail.com>
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, e... |
/*
* Interface calls to BIOS
*
* 2003-06-21 Georg Acher (georg@acher.org)
*
*/
#include "boot.h"
#include <stdarg.h>
#include "video.h"
/*------------------------------------------------------------------------*/
// Output window for USB messages
int usb_curs_x=0;
int usb_curs_y=0;
void zxprintf(char* fmt, ...... |
#ifndef QvkCircleWidget_H
#define QvkCircleWidget_H
#include <QWidget>
#include <QLabel>
#include <QPainter>
#include <QDebug>
class QvkCircleWidget: public QWidget
{
Q_OBJECT
public:
virtual ~QvkCircleWidget();
QvkCircleWidget( QWidget *parent );
QWidget *parentWidget;
public:
public slots:... |
/*
* linux/arch/arm/mach-pxa/pxa27x.c
*
* Author: Nicolas Pitre
* Created: Nov 05, 2002
* Copyright: MontaVista Software Inc.
*
* Code specific to PXA27x aka Bulverde.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 ... |
// Snap Websites Server -- handle the server status
// Copyright (c) 2016-2019 Made to Order Software Corp. All Rights Reserved
//
// 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 ver... |
#ifndef __TcpSegment_H
#define __TcpSegment_H
class TcpSegment
{
public:
struct TcpPackageInfo
{
DWORD mIp;
WORD mPort;
std::string sData;
bool bFinish;
DWORD dwTime;
TcpPackageInfo()
{
dwTime = 0;
mIp = 0;
mPort = 0;
sData = "";
bFinish = false;
}
};
public:
v... |
/* ./lib/kliba.asm*/
PUBLIC void out_byte(u16 port, u8 value);
PUBLIC u8 in_byte(u16 port);
PUBLIC void disp_str(char *str);
PUBLIC void disp_color_str(char *str, int color);
/* ./kernel/i8258A.c*/
PUBLIC void init_8259A();
PUBLIC void put_irq_handler(int irq, irq_handler handler);
PUBLIC void spurious_irq();
/* kern... |
/*
Copyright (c) 2009-2010 Jay Sorg
Copyright (c) 2010 Vic Lee
Permission is hereby granted, free of charge, to any person obtaining a
copy of this software and associated documentation files (the "Software"),
to deal in the Software without restriction, including without limitation
the rights to use... |
/* UNIX V7 source code: see /COPYRIGHT or www.tuhs.org for details. */
#
/*
* UNIX shell
*
* S. R. Bourne
* Bell Telephone Laboratories
*
*/
#include "defs.h"
/* ======== input output and file copying ======== */
void initf(UFD fd)
{
register FILE f = standin;
f->fdes = fd;
f->fsiz = ((flags & (oneflg | ... |
#include <stdio.h>
int main()
{
int a = 10;//4¸ö×Ö½Ú´óС
short b = 10;
printf("%d\n", sizeof(b));
long c = 10;
printf("%d\n", sizeof(c));
long long d = 10;
printf("%d\n", sizeof(d));
unsigned int e = 10;
printf("%d\n", sizeof(e));
//unsigned short f;
//unsigned long g;
//unsigned long long... |
/*-------------------------------------------------------------------------
*
* readfuncs.h
* header file for read.c and readfuncs.c. These functions are internal
* to the stringToNode interface and should not be used by anyone else.
*
* Portions Copyright (c) 1996-2005, PostgreSQL Global Development Group
*... |
/* amd.h
This file is part of a program that implements a Software-Defined Radio.
Copyright (C) 2012, 2013 Warren Pratt, NR0V
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... |
#include <pebble.h>
#include "skipwin.h"
#include "common.h"
#include "commonwin.h"
#define LEN_DATE 12
static SkipSetCallBack s_set_event;
static time_t s_skip_until;
static char *s_date;
static bool s_show_noskip;
static Window *s_window;
static GBitmap *s_res_img_upaction;
static GBitmap *s_res_img_okaction;
st... |
/** Account class header.
@file Account.h
This file belongs to the SYNTHESE project (public transportation specialized software)
Copyright (C) 2002 Hugues Romain - RCSmobility <contact@rcsmobility.com>
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Pub... |
/*
* Copyright (C) 2004-2009 Geometer Plus <contact@geometerplus.com>
*
* 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 of the License, or
* (at your option) any later ver... |
#include <stdlib.h>
#include <glib.h>
#include <lib.h>
gint
main(gint argc, gchar *argv[])
{
hello_world();
return EXIT_SUCCESS;
}
|
#ifndef __RT_HW_SERIAL_H__
#define __RT_HW_SERIAL_H__
#include <rthw.h>
#include <rtthread.h>
#include "mb9bf506r.h"
#define SMR_SOE 0x01U
#define SMR_BDS 0x04U
#define SMR_SBL 0x08U
#define SMR_WUCR 0x10U
#define SMR_MD_UART 0x00U
#define SMR_MD_UART_MP 0x20U
... |
/*
*
* /arch/arm/mach-msm/include/mach/htc_headset_gpio.h
*
* HTC GPIO headset driver.
*
* Copyright (C) 2010 HTC, Inc.
*
* This software is licensed under the terms of the GNU General Public
* License version 2, as published by the Free Software Foundation, and
* may be copied, distributed, and modified unde... |
/****************************************************************************
**
** FreeSCH - Free SCHematic drawing program for electronic circuits.
**
** Copyright 2012 Warren Free
**
** This program is free software; you can redistribute it and/or
** modify it under the terms of version 2 of the GNU General P... |
#ifndef _G1_GAME_OVER_LAYER_H_
#define _G1_GAME_OVER_LAYER_H_
#include "Common.h"
#include "cocos2d.h"
NAMESPACE_G1_BEGIN
// The layer when game is over.
class GameOverLayer : public cc::Layer {
public:
GameOverLayer();
virtual ~GameOverLayer();
static GameOverLayer* create();
virtual bool init() ove... |
/*
Copyright (c) 2013, 2014 Montel Laurent <montel@kde.org>
This program is free software; you can redistribute it and/or modify it
under the terms of the GNU General Public License, version 2, as
published by the Free Software Foundation.
This program is distributed in the hope that it will be useful, but
... |
/* -*- Mode: C; indent-tabs-mode: t; c-basic-offset: 8; tab-width: 8 -*- */
/* egg-secure-buffer.h - secure memory gtkentry buffer
Copyright (C) 2009 Stefan Walter
The Gnome Keyring Library is free software; you can redistribute it and/or
modify it under the terms of the GNU Library General Public License as... |
#ifndef ICLIPBOARD_H
#define ICLIPBOARD_H
#include <string>
class IClipboard
{
public:
virtual const std::string &GetData() const = 0;
virtual void SetData( const std::string &NewData ) = 0;
};
#endif |
// color.h - Color class declaration
/*
Copyright (C) 2007 Jeremiah LaRocco
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 of the License, or
(at your option) any later v... |
#include <time.h>
// Definitions and structures used by getnetworkparams and getadaptersinfo apis
#define MAX_ADAPTER_DESCRIPTION_LENGTH 128 // arb.
#define MAX_ADAPTER_NAME_LENGTH 256 // arb.
#define MAX_ADAPTER_ADDRESS_LENGTH 8 // arb.
//
// IP_ADDRESS_STRING - store an IP address as a dotted decim... |
//
// APPreferencesController.h
// AppPolice
//
// Created by Maksym on 20/11/13.
// Copyright (c) 2013 Maksym Stefanchuk. All rights reserved.
//
#import <Cocoa/Cocoa.h>
@class APURLTextField;
@interface APAboutWindowController : NSWindowController <NSURLConnectionDelegate, NSURLConnectionDataDelegate>
{
@priva... |
/***************************************************************************
* Copyright (C) 2006 by EP Studios, Inc. *
* mannd@epstudiossoftware.com *
* *
* This pr... |
/*
***************************************************************************
* Ralink Tech Inc.
* 4F, No. 2 Technology 5th Rd.
* Science-based Industrial Park
* Hsin-chu, Taiwan, R.O.C.
*
* (c) Copyright 2002-2004, Ralink Technology, Inc.
*
* All rights reserved. Ralink's source code is an unpublished work a... |
#ifndef __DRIVER_H_
#define __DRIVER_H_
#include <stdio.h>
#include <string>
#include <iosfwd>
#include "types.h"
#include "git.h"
#include "file.h"
FILE *FCEUD_UTF8fopen(const char *fn, const char *mode);
inline FILE *FCEUD_UTF8fopen(const std::string &n, const char *mode) {
return FCEUD_UTF8fopen(n.c_str(),mode... |
/***************************************************************************
* Copyright (C) 2005 by yunfan *
* yunfan_zg@163.com *
* *
* This pr... |
//
// MyModule.h This file is a part of the IKAROS project
//
// Copyright (C) 2012 <Author Name>
//
// 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 of the Licen... |
#ifndef JC_DATABSEFACTORY_H_
#define JC_DATABSEFACTORY_H_
#include "Common.h"
#include "JC_Config.h"
#include "MC_MySQL.h"
#include "MC_Oracle.h"
class JC_DatabseFactory {
public:
virtual MI_Database * createDB()=0;
};
class JC_DatabseFactoryMySQL: public JC_DatabseFactory {
public:
MI_Database * createDB()... |
#import <UIKit/UIKit.h>
#import "ReaderPost.h"
#import "ReaderPostView.h"
#import "ReaderCommentTableViewCell.h"
@interface ReaderPostDetailViewController : UITableViewController<UITableViewDataSource, UITableViewDelegate, ReaderPostViewDelegate, ReaderCommentTableViewCellDelegate, NSFetchedResultsControllerDelegate>
... |
/*
* Copyright(c) 1992 Bell Communications Research, Inc. (Bellcore)
* Copyright(c) 1995-99 Andrew Lister
*
* All rights reserved
* Permission to use, copy, modify and distribute this material for
* any purpose and without fee is hereby granted, provided that the
* above copyright notice a... |
/*
* Test main client
*/
#include <stdio.h>
#include "sika.h"
#include "network.h"
void on_data_rev(int id, struct connection *p_conn)
{
printf("ID [%d] receives data", id);
printf("Data: [%s]", p_conn->read_buf.data);
p_conn->read_buf.len = 0;
}
void on_closed(int id, struct connection *p_conn)
{
... |
/*
* Author: Jiasheng.chen@celestialsemi.com
* Version0.1 Inital @2008.02.18
*/
#include "spi_func.h"
#include "../stdlib/c_stdlib.h"
/*#define SPI_FUNC_ENA*/
enum _SPI_CONST_
{
SPI_CTRLR0 = 0x10173000,
SPI_CTRLR1 = 0x10173004,
SPI_SSIENR = 0x10173008,
SPI_SER = 0x10173010,
SPI_BAUDR = 0x10... |
/* $Id: exact.c,v 1.19 2004/03/31 20:25:21 doug Exp $
*
* This file is part of EXACT.
*
* EXACT 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 of the License, or
* (at your option) an... |
#pragma once
/*
* 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 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope t... |
/* OpenCP Module Player
* copyright (c) '94-'10 Niklas Beisert <nbeisert@physik.tu-muenchen.de>
*
* GMDPlay time auxiliary routines
*
* 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; eithe... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.