Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
tree: 74b4a4592a
Fetching contributors…

Cannot retrieve contributors at this time

42 lines (32 sloc) 1.16 kb
//=============================================================================
// MuseScore
// Music Composition & Notation
// $Id: hook.h 5362 2012-02-23 14:03:36Z wschweer $
//
// Copyright (C) 2002-2011 Werner Schweer
//
// 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 and appearing in
// the file LICENCE.GPL
//=============================================================================
#ifndef __HOOK_H__
#define __HOOK_H__
#include "symbol.h"
class Chord;
//---------------------------------------------------------
// @@ Hook
//---------------------------------------------------------
class Hook : public Symbol {
Q_OBJECT
int _subtype;
public:
Hook(Score*);
virtual Hook* clone() const { return new Hook(*this); }
virtual ElementType type() const { return HOOK; }
void setSubtype(int v);
int subtype() const { return _subtype; }
virtual void layout();
Chord* chord() const { return (Chord*)parent(); }
};
#endif
Jump to Line
Something went wrong with that request. Please try again.