text
stringlengths
0
14.1k
*/
#ifndef GAMMARAY_MIMETYPESWIDGET_H
#define GAMMARAY_MIMETYPESWIDGET_H
#include <QWidget>
namespace GammaRay {
namespace Ui {
class MimeTypesWidget;
}
class MimeTypesWidget : public QWidget
{
Q_OBJECT
public:
explicit MimeTypesWidget(QWidget *parent = 0);
~MimeTypesWidget();
private:
QScopedPointer<Ui::MimeTypesWidget> ui;
};
}
#endif // GAMMARAY_MIMETYPESWIDGET_H
" gpl-2.0
Thadah/GarryWare13 entities/weapons/gmdm_base/init.lua 1097 "////////////////////////////////////////////////
// Garry's Mod Deathmatch Weapon Base //
// by SteveUK //
// //
/////////////////////////////////////////////
AddCSLuaFile( ""cl_init.lua"" )
AddCSLuaFile( ""cl_hud.lua"" )
AddCSLuaFile( ""shared.lua"" )
include(""shared.lua"")
////////////////////////////////////////////////
function SWEP:OnRestore()
end
function SWEP:AcceptInput( name, activator, caller )
return false
end
function SWEP:KeyValue( key, value )
end
function SWEP:OnRemove()
end
function SWEP:Equip( NewOwner )
end
SWEP.EquipAmmo = SWEP.Equip
function SWEP:NPCShoot_Primary( ShootPos, ShootDir )
self:PrimaryAttack()
end
function SWEP:NPCShoot_Secondary( ShootPos, ShootDir )
self:PrimaryAttack()
end
function SWEP:Deploy()
-- If it's silenced, we need to play a different anim.
if ( self.SupportsSilencer and self:GetNWBool( ""Silenced"" ) == true ) then
self:SendWeaponAnim( ACT_VM_DRAW_SILENCED )
else
self:SendWeaponAnim( ACT_VM_DRAW )
end
-- Quick switch.
return true
end
" gpl-2.0
w7cook/batch-javac src/share/classes/com/sun/tools/doclets/internal/toolkit/builders/LayoutParser.java 4026 "/*
* Copyright (c) 2003, 2010, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation. Oracle designates this
* particular file as subject to the ""Classpath"" exception as provided
* by Oracle in the LICENSE file that accompanied this code.
*
* This code is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or